From: abn Date: Wed, 1 Oct 2014 15:18:32 +0000 (+0200) Subject: Now using salome_iapp.IN_SALOME_GUI' to detect if invoked from GUI. X-Git-Tag: V7_5_0b1~25^2~3 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=ef0ae39529695ed664dbe16606985fb151a08def;p=modules%2Fgui.git Now using salome_iapp.IN_SALOME_GUI' to detect if invoked from GUI. --- diff --git a/src/SalomeApp/SalomeApp_PyInterp.cxx b/src/SalomeApp/SalomeApp_PyInterp.cxx index 94ffa6c7b..3adde1b6b 100755 --- a/src/SalomeApp/SalomeApp_PyInterp.cxx +++ b/src/SalomeApp/SalomeApp_PyInterp.cxx @@ -74,9 +74,6 @@ int SalomeApp_PyInterp::beforeRun() ret = simpleRun( "salome.salome_init(0,1)", false ); if (ret) return ret; - ret = simpleRun( "salome.fromEmbeddedConsole=True", false ); - if (ret) - return ret; } return true; }