]> SALOME platform Git repositories - modules/gui.git/commitdiff
Salome HOME
Fix function salome.sg.getActiveStudyName()
authorRenaud Barate <renaud.barate@edf.fr>
Tue, 8 Jul 2014 07:48:18 +0000 (09:48 +0200)
committerRenaud Barate <renaud.barate@edf.fr>
Tue, 8 Jul 2014 07:58:47 +0000 (09:58 +0200)
src/SALOME_SWIG/SALOMEGUI_Swig.cxx

index 98d11c99de40a22756d70cbc1e91cc296dcdcdf5..eb14a5384a020ffc8d73e80f7bcf9404fac28e93 100644 (file)
@@ -227,7 +227,7 @@ public:
   virtual void Execute()
   {
     if ( LightApp_Study* aStudy = getActiveStudy() ) {
-      myResult = aStudy->id();
+      myResult = aStudy->studyName().toUtf8().constData();
     }
   }
 };