mirror of
https://github.com/qgis/QGIS.git
synced 2025-03-01 00:46:20 -05:00
[browser] Correctly save expanded node state when closing QGIS
Otherwise browser expanded nodes are never saved, and the browser always returns to some random previous state
This commit is contained in:
parent
0234d4e9e1
commit
2eff061bf3
@ -1839,6 +1839,7 @@ QgisApp::~QgisApp()
|
||||
}
|
||||
|
||||
// these may have references to map layers which need to be cleaned up
|
||||
mBrowserWidget->close(); // close first, to trigger save of state
|
||||
delete mBrowserWidget;
|
||||
mBrowserWidget = nullptr;
|
||||
delete mBrowserWidget2;
|
||||
|
Loading…
x
Reference in New Issue
Block a user