linz / gazetteer

New Zealand Gazetteer of official place names
http://www.linz.govt.nz/regulatory/place-names/find-name/new-zealand-gazetteer-official-geographic-names/new-zealand-gazetteer-search-place-names#zoom=0&lat=-41.14127&lon=172.5&layers=BTTT
Other
2 stars 2 forks source link

remove root layers #164

Closed SPlanzer closed 3 years ago

SPlanzer commented 3 years ago

Fixes: #

Change Description:

The QGIS2 legend API had a moveLayer method available which moved layers to nodes/groups. The layerTreeView that replaces QGIS2's legend does not have this available but rather add and remove.

Initial porting employed the move but not the remove method. This resulted in layers both in the trees root and children/groups

This PR removes layers from the root and moving groups as to provide the same user experience as the app currently does in QGIS2 with groups.

...

Notes for Testing:

Tests in dev in test_edit_geom branch. This is a blockage to this main task ...

Source Code Documentation Tasks:

User Documentation Tasks:

Testing Tasks:

Pull Request Management: