mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-25 00:58:06 -05:00
Plugin toolbars and docks state saving
git-svn-id: http://svn.osgeo.org/qgis/trunk@9730 c8812cc2-4d05-0410-92ff-de0c093fc19c
This commit is contained in:
parent
635abe2b88
commit
5c6132621d
@ -1741,8 +1741,6 @@ void QgisApp::saveRecentProjectPath( QString projectPath, QSettings & settings )
|
||||
|
||||
void QgisApp::saveWindowState()
|
||||
{
|
||||
QgsPluginRegistry::instance()->unloadAll();
|
||||
|
||||
// store window and toolbar positions
|
||||
QSettings settings;
|
||||
// store the toolbar/dock widget settings using Qt4 settings API
|
||||
@ -1750,6 +1748,8 @@ void QgisApp::saveWindowState()
|
||||
|
||||
// store window geometry
|
||||
settings.setValue( "/UI/geometry", saveGeometry() );
|
||||
|
||||
QgsPluginRegistry::instance()->unloadAll();
|
||||
}
|
||||
|
||||
void QgisApp::restoreWindowState()
|
||||
|
Loading…
x
Reference in New Issue
Block a user