From: vsr Date: Fri, 18 Mar 2016 14:59:42 +0000 (+0300) Subject: Update according PyConsole redesign in GUI module X-Git-Tag: V7_8_0a2~3 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=cc6a9a8b861332cc9b7d7a208e59436aefd2fa53;p=modules%2Fgeom.git Update according PyConsole redesign in GUI module --- diff --git a/src/GEOMToolsGUI/GEOMToolsGUI_1.cxx b/src/GEOMToolsGUI/GEOMToolsGUI_1.cxx index 069dac1ca..5b4273c95 100644 --- a/src/GEOMToolsGUI/GEOMToolsGUI_1.cxx +++ b/src/GEOMToolsGUI/GEOMToolsGUI_1.cxx @@ -25,7 +25,7 @@ // Author : Sergey ANIKIN, Open CASCADE S.A.S. (sergey.anikin@opencascade.com) #ifndef DISABLE_PYCONSOLE -#include +#include #endif #include "GEOMToolsGUI.h" @@ -135,7 +135,7 @@ void GEOMToolsGUI::OnCheckGeometry() { 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("from GEOM_usinggeom import *");