Problems updating a listbox based on a selection from a different listbox

Hello everyone,

Version: 7.5.2.2 (X86_64) / LibreOffice Community
Build ID: 53bb9681a964705cf672590721dbc85eb4d0c3a2
CPU threads: 16; OS: Windows 10.0 Build 22621; UI render: Skia/Vulkan; VCL: win
Locale: en-CA (en_CA); UI: en-US
Calc: threaded

I am trying to update an array of options in a listbox, based on a selection made in a different listbox. In my case, it’s a list of countries based on a selection of a continent.

Nonetheles, if I update the continent choice, and I manually set focus on the country listbox, and press the refresh command on the navigation toolbar, it does update the country choices. But the macro which I have associated with the continent listbox does not, even though the filter table does.

What am I missing here? If anyone could please point me in the right direction, I’d be very grateful.

test_tfc_1.odb (16.0 KB)

Just found the solution. Besides reloading the countries form, the listbox itself has to be refreshed.