Please sign in to comment.
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix for bug report #19174 - hide newly added layer(s) when in group
When loading a single layer QGIS will set it as invisible if the user have chosen so (new_layers_visible=false) in the settings. When a data set contains more than one layer and the user chooses "Add layers to a group" the layers are added as visible no matter what. This commit is fixing that problem for both GDAL and OGR data sets by setting both the group and its layers as invisible/unchecked. Fixes #19174
- Loading branch information
Showing with 10 additions and 0 deletions.
- +10 −0 src/app/qgisapp.cpp