From: vsr Date: Fri, 18 Mar 2016 15:01:10 +0000 (+0300) Subject: Update according PyConsole redesign in GUI module X-Git-Tag: V7_8_0a2~2 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;ds=sidebyside;h=96aef9cefe70160a54d2412a40b970d50244bd51;p=modules%2Fhexablock.git Update according PyConsole redesign in GUI module --- diff --git a/src/HEXABLOCKGUI/HEXABLOCKGUI_DocumentPanel.cxx b/src/HEXABLOCKGUI/HEXABLOCKGUI_DocumentPanel.cxx index a60cf72..9ec2dd2 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() ); - SalomePyConsole_Console* pyConsole = app->pythonConsole(); + PyConsole_Console* pyConsole = app->pythonConsole(); if ( pyConsole ) pyConsole->exec( command );