From cc6a9a8b861332cc9b7d7a208e59436aefd2fa53 Mon Sep 17 00:00:00 2001 From: vsr Date: Fri, 18 Mar 2016 17:59:42 +0300 Subject: [PATCH] Update according PyConsole redesign in GUI module --- src/GEOMToolsGUI/GEOMToolsGUI_1.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 *"); -- 2.39.2