Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
mZoomToFeatureButton visibility is set on several places. To keep it …
…stable and not beeing dependant on the order or the setting it stores mChildIsSpacial and mButtons (the configuration). On setVisibleButtons it does only set mZoomToFeatureButton visible, if the referenced layer of relation / the referencing layer of the nmRelation is spacial and the flag is set. On setRelation it does only set mZoomToFeatureButton visible, if the referenced layer of relation / the referencing layer of the nmRelation is spacial and the flag of the config is set. On updateButtons it does only set mZoomToFeatureButton visible, if the referenced layer of relation / the referencing layer of the nmRelation is spacial and the flag is set and the mapCanvas of the context is existing. fixes #37718
- Loading branch information
Showing
2 changed files
with
16 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters