WXGUI selecting to render a map and map selection bind to same event in layer manager
|Reported by:||marisn||Owned by:|
When I click on the checkbox to render/disable map rendering in WXGUI layer manager, the map is selected. Clicking on the next map's checkbox will select it too.
Now when I try to get rid of this selection to have only one map selected by clicking on map name - nothing happens.
When I click outside of checkbox and outside of map name, it gets unselected, still it also triggers a rendering checkbox value change (i.e. from "not render" to "render").
The problem comes from the fact, that checkbox and the background of map layer entry both respond to same single event. Selecting a map to render or not shouldn't change it's selection and selecting/unselecting map layer shouldn't change it's rendering status. Current implementation makes really hard to select and change rendering options for multiple map layers.