From ceb9fb0e85af72879e6108ed07058718796ecf94 Mon Sep 17 00:00:00 2001 From: Renaud Barate Date: Tue, 8 Jul 2014 09:48:18 +0200 Subject: [PATCH] Fix function salome.sg.getActiveStudyName() --- src/SALOME_SWIG/SALOMEGUI_Swig.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/SALOME_SWIG/SALOMEGUI_Swig.cxx b/src/SALOME_SWIG/SALOMEGUI_Swig.cxx index 98d11c99d..eb14a5384 100644 --- a/src/SALOME_SWIG/SALOMEGUI_Swig.cxx +++ b/src/SALOME_SWIG/SALOMEGUI_Swig.cxx @@ -227,7 +227,7 @@ public: virtual void Execute() { if ( LightApp_Study* aStudy = getActiveStudy() ) { - myResult = aStudy->id(); + myResult = aStudy->studyName().toUtf8().constData(); } } }; -- 2.39.2