From 39c105b86c443fef184e19ef7b0a698c000d175f Mon Sep 17 00:00:00 2001 From: rnv Date: Mon, 7 Apr 2014 14:39:35 +0400 Subject: [PATCH] Fix the problem with the storing/restoring positions and visibility of the toolbars. --- src/LightApp/LightApp_Application.cxx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/LightApp/LightApp_Application.cxx b/src/LightApp/LightApp_Application.cxx index 65afdae1b..6038e048e 100644 --- a/src/LightApp/LightApp_Application.cxx +++ b/src/LightApp/LightApp_Application.cxx @@ -3316,6 +3316,7 @@ void LightApp_Application::loadDockWindowsState() desktop()->restoreState( aTargetArray ); } + /* if ( !myWinVis.contains( modName ) && aDefaultVisibility.isEmpty()) return; @@ -3345,7 +3346,7 @@ void LightApp_Application::loadDockWindowsState() dwMap = &defaultDwMap; } } - + if(tbMap) { QList tbList = findToolBars(); for ( QList::iterator tit = tbList.begin(); tit != tbList.end(); ++tit ) @@ -3371,6 +3372,7 @@ void LightApp_Application::loadDockWindowsState() dw->setVisible( (*dwMap)[dw->objectName()] ); } } + */ } -- 2.39.2