]> SALOME platform Git repositories - modules/hexablock.git/commitdiff
Salome HOME
Update according PyConsole redesign in GUI module
authorvsr <vsr@opencascade.com>
Fri, 18 Mar 2016 15:01:10 +0000 (18:01 +0300)
committervsr <vsr@opencascade.com>
Fri, 18 Mar 2016 15:01:10 +0000 (18:01 +0300)
src/HEXABLOCKGUI/HEXABLOCKGUI_DocumentPanel.cxx

index a60cf727e2d7fe672fe82a18c85b87f065063257..9ec2dd28af4497a1cec52f4082da5eb4e0439105 100755 (executable)
@@ -32,7 +32,7 @@
 #include <SalomeApp_Application.h>
 #include <SalomeApp_Study.h>
 #ifndef DISABLE_PYCONSOLE
-#include <SalomePyConsole_Console.h>
+#include <PyConsole_Console.h>
 #endif
 #include <SalomeApp_Tools.h>
 
@@ -5887,7 +5887,7 @@ bool ComputeMeshDialog::apply(QModelIndex& result)
                                                                                                          .arg( _fact->text() );
 
     SalomeApp_Application* app = dynamic_cast<SalomeApp_Application*>( SUIT_Session::session()->activeApplication() );
-    SalomePyConsole_Console* pyConsole = app->pythonConsole();
+    PyConsole_Console* pyConsole = app->pythonConsole();
 
     if ( pyConsole )
         pyConsole->exec( command );