]> SALOME platform Git repositories - modules/gui.git/commitdiff
Salome HOME
Fix the problem with the storing/restoring positions and visibility of
authorrnv <rnv@opencascade.com>
Mon, 7 Apr 2014 10:39:35 +0000 (14:39 +0400)
committerrnv <rnv@opencascade.com>
Mon, 7 Apr 2014 10:39:35 +0000 (14:39 +0400)
the toolbars.

src/LightApp/LightApp_Application.cxx

index 65afdae1b2c38926cdefa8d7c1322766e8463c4c..6038e048e8cc62b71bff40da143a7bd43e3f7473 100644 (file)
@@ -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<QToolBar*> tbList = findToolBars();
     for ( QList<QToolBar*>::iterator tit = tbList.begin(); tit != tbList.end(); ++tit )
@@ -3371,6 +3372,7 @@ void LightApp_Application::loadDockWindowsState()
          dw->setVisible( (*dwMap)[dw->objectName()] );
       }
   }
+  */
 }