]> SALOME platform Git repositories - modules/geom.git/commitdiff
Salome HOME
Update according PyConsole redesign in GUI module
authorvsr <vsr@opencascade.com>
Fri, 18 Mar 2016 14:59:42 +0000 (17:59 +0300)
committervsr <vsr@opencascade.com>
Fri, 18 Mar 2016 14:59:42 +0000 (17:59 +0300)
src/GEOMToolsGUI/GEOMToolsGUI_1.cxx

index 069dac1cae25f40906f2bd7e876543477f122071..5b4273c95d79eb549b4b12a5773092620e5f9a7a 100644 (file)
@@ -25,7 +25,7 @@
 //  Author : Sergey ANIKIN, Open CASCADE S.A.S. (sergey.anikin@opencascade.com)
 
 #ifndef DISABLE_PYCONSOLE
-#include <SalomePyConsole_Console.h>
+#include <PyConsole_Console.h>
 #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 *");