]> SALOME platform Git repositories - modules/gui.git/commitdiff
Salome HOME
Fix for the "0022421: EDF 2805 GEOM: Save in a repertory with an accent fails" issue.
authorrnv <rnv@opencascade.com>
Fri, 6 Dec 2013 07:51:59 +0000 (07:51 +0000)
committerrnv <rnv@opencascade.com>
Fri, 6 Dec 2013 07:51:59 +0000 (07:51 +0000)
src/SalomeApp/SalomeApp_Study.cxx

index a4ae7c10d611325d13a17912e319f4a072e4bc90..f483ef86656c6f614cf34b1d5dd89425660cd41a 100644 (file)
@@ -427,7 +427,7 @@ QString SalomeApp_Study::studyName() const
   // it can be changed outside of GUI
   // TEMPORARILY SOLUTION: better to be implemented with help of SALOMEDS observers
   if ( studyDS() ) {
-    QString newName = studyDS()->Name().c_str();
+    QString newName = QString::fromUtf8(studyDS()->Name().c_str());
     if ( LightApp_Study::studyName() != newName ) {
       SalomeApp_Study* that = const_cast<SalomeApp_Study*>( this );
       that->setStudyName( newName );