0022287: [CEA 912] Notebook: clicking on "update study" returns an error message

Pb: notebook disappeared.

   // get a free dockable window id
-  myWindowID = 1;
+  myWindowID = 10;
This commit is contained in:
eap 2013-07-29 09:35:36 +00:00
parent 79367306ff
commit bd234baffa

View File

@ -66,7 +66,7 @@ GEOMGUI_CreationInfoWdg::GEOMGUI_CreationInfoWdg( SalomeApp_Application* app )
aLayout->addWidget( myParamsTreeWd ); aLayout->addWidget( myParamsTreeWd );
// get a free dockable window id // get a free dockable window id
myWindowID = 1; myWindowID = 10;
while( app->dockWindow( myWindowID )) while( app->dockWindow( myWindowID ))
++myWindowID; ++myWindowID;
++myWindowID; // pb when a GEOM is a sole module: CreationInfoWdg replaces Python console ++myWindowID; // pb when a GEOM is a sole module: CreationInfoWdg replaces Python console