When changing selected maps in the Map Chooser
dialogue, clicking on the Expand Directories button
clears any changes made, and reverts back to the
original selections.
This is true. The entire dialog is redrawn, and the maps
listed in selected_maps.sys are then highlighted.
We could save the selected maps into the file before we
redraw, but then cancelling out of the dialog wouldn't
cancel the changes you made while the dialog was up. Which
is better?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Another option would be to keep a separate list of what's been selected
to that point, and when the Map Chooser was killed/resurrected we'd
use that list to re-select them. Expand_Dirs_toggle() and
Map_chooser() would need to be modified, as well as a method figured
out to pass a flag to Map_chooser() in order to tell it where to get the
data.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Logged In: YES
user_id=448632
This is true. The entire dialog is redrawn, and the maps
listed in selected_maps.sys are then highlighted.
We could save the selected maps into the file before we
redraw, but then cancelling out of the dialog wouldn't
cancel the changes you made while the dialog was up. Which
is better?
Logged In: YES
user_id=448632
Another option would be to keep a separate list of what's been selected
to that point, and when the Map Chooser was killed/resurrected we'd
use that list to re-select them. Expand_Dirs_toggle() and
Map_chooser() would need to be modified, as well as a method figured
out to pass a flag to Map_chooser() in order to tell it where to get the
data.
The Xastir project no longer uses sourceforge for issue tracking and I am closing all open issues (all of which are very old).
If this issue is still important, please open a new one on https://github.com/Xastir/Xastir.