From 43ca84842dfd354e1c4e0175c29040563e65c6d4 Mon Sep 17 00:00:00 2001 From: rnv Date: Fri, 6 Dec 2013 07:51:59 +0000 Subject: [PATCH] Fix for the "0022421: EDF 2805 GEOM: Save in a repertory with an accent fails" issue. --- src/SalomeApp/SalomeApp_Study.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/SalomeApp/SalomeApp_Study.cxx b/src/SalomeApp/SalomeApp_Study.cxx index a4ae7c10d..f483ef866 100644 --- a/src/SalomeApp/SalomeApp_Study.cxx +++ b/src/SalomeApp/SalomeApp_Study.cxx @@ -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( this ); that->setStudyName( newName ); -- 2.39.2