Describe the bug
When the preference for displaying monitors in the parameters view is set to true, running an experiment with several simulations makes the monitors section vanish quickly after the opening of the experiment.
To Reproduce
Steps to reproduce the behavior:
- Verify that the preference is set to true
- Go for example to 'Ant Foraging.gaml'
- Define a monitor in the '3 simulations' experiment, e.g.
monitor "dummy" value: 0;
- Run the '3 simulations' experiment
- See the Monitors section in the parameters view appear and immediately vanish
What's weirder is that selecting the experiment and then the second simulation makes the section appear, but with only one monitor inside, and not for the right simulation.
Expected behavior
That the monitor for the current simulation (the one currently selected) is shown -- and maybe that the ones for the 3 simulations are shown when the experiment is selected.
Desktop (please complete the following information):
- OS: macOS 15.1.1 (24B91)
- PC Model: MBP Apple M3 Max
- GAMA version: git
- Java version: 23.0.1