From: Florian BRUNET Date: Tue, 15 Mar 2016 08:56:06 +0000 (+0100) Subject: Adaptative maintenance of HEXABLOCK for new SalomePyConsole. X-Git-Tag: V7_8_0a2~3 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=refs%2Fheads%2Ffbt%2FSalomePyConsole_integration_suggestions;p=modules%2Fhexablock.git Adaptative maintenance of HEXABLOCK for new SalomePyConsole. --- diff --git a/src/HEXABLOCKGUI/HEXABLOCKGUI_DocumentPanel.cxx b/src/HEXABLOCKGUI/HEXABLOCKGUI_DocumentPanel.cxx index 9ec2dd2..a60cf72 100755 --- a/src/HEXABLOCKGUI/HEXABLOCKGUI_DocumentPanel.cxx +++ b/src/HEXABLOCKGUI/HEXABLOCKGUI_DocumentPanel.cxx @@ -32,7 +32,7 @@ #include #include #ifndef DISABLE_PYCONSOLE -#include +#include #endif #include @@ -5887,7 +5887,7 @@ bool ComputeMeshDialog::apply(QModelIndex& result) .arg( _fact->text() ); SalomeApp_Application* app = dynamic_cast( SUIT_Session::session()->activeApplication() ); - PyConsole_Console* pyConsole = app->pythonConsole(); + SalomePyConsole_Console* pyConsole = app->pythonConsole(); if ( pyConsole ) pyConsole->exec( command );