]> SALOME platform Git repositories - modules/geom.git/commitdiff
Salome HOME
0022565: [CEA 1145] Missing WT_NoteBook in python:
authorakl <akl@opencascade.com>
Thu, 24 Apr 2014 14:01:10 +0000 (18:01 +0400)
committerakl <akl@opencascade.com>
Thu, 24 Apr 2014 14:01:10 +0000 (18:01 +0400)
by default, "Note Book" dockable window is enable only in the GEOM and SMESH modules now.

src/GEOMGUI/GeometryGUI.cxx

index fab29f562a6d51700cfcbf8e5d619256c8327e24..f10e4a026d6dc8411dab6c51b46cf85d9a47f9e6 100644 (file)
@@ -1961,6 +1961,7 @@ void GeometryGUI::onWindowActivated( SUIT_ViewWindow* win )
 void GeometryGUI::windows( QMap<int, int>& mappa ) const
 {
   mappa.insert( SalomeApp_Application::WT_ObjectBrowser, Qt::LeftDockWidgetArea );
+  mappa.insert( SalomeApp_Application::WT_NoteBook, Qt::LeftDockWidgetArea );
   mappa.insert( SalomeApp_Application::WT_PyConsole, Qt::BottomDockWidgetArea );
   if ( myCreationInfoWdg )
     mappa.insert( myCreationInfoWdg->getWinID(), Qt::LeftDockWidgetArea );