From: rnv Date: Mon, 7 Apr 2014 10:39:35 +0000 (+0400) Subject: Fix the problem with the storing/restoring positions and visibility of X-Git-Tag: V7_4_0b1~3 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=39c105b86c443fef184e19ef7b0a698c000d175f;p=modules%2Fgui.git Fix the problem with the storing/restoring positions and visibility of the toolbars. --- 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()] ); } } + */ }