]> SALOME platform Git repositories - modules/gui.git/commitdiff
Salome HOME
Fix of previos wrong integration
authorana <ana@opencascade.com>
Wed, 7 Nov 2012 09:49:03 +0000 (09:49 +0000)
committerana <ana@opencascade.com>
Wed, 7 Nov 2012 09:49:03 +0000 (09:49 +0000)
src/LightApp/LightApp_Application.cxx

index e3532938f69d1bf53840ecb0d0e1ff0557718f08..040503db1717cb4ff204cc8e6707edf7a74b1dac 100644 (file)
@@ -1290,7 +1290,7 @@ LogWindow* LightApp_Application::logWindow()
 PyConsole_Console* LightApp_Application::pythonConsole(const bool force)
 {
   QWidget* wid = dockWindow( WT_PyConsole );
-  if ( !wid and force==true) {
+  if ( !wid && force==true) {
     wid = getWindow(WT_PyConsole);
   }
   return qobject_cast<PyConsole_Console*>( wid );