Salome HOME
Unicode support: correct handling of unicode on GUI level
[modules/geom.git] / src / BasicGUI / BasicGUI_EllipseDlg.cxx
index 4fdea1811e89d9d80e6b32bb87a4679691a46c98..284be164197bf2b52a58e04fe6d7ab91d7b74e7f 100644 (file)
@@ -414,7 +414,7 @@ bool BasicGUI_EllipseDlg::execute( ObjectList& objects )
     anOper->MakeEllipse   ( myPoint.get(), myDir.get(), aMajorR, aMinorR );
   if ( !anObj->_is_nil() ) {
     if ( !IsPreview() )
-      anObj->SetParameters(aParameters.join(":").toLatin1().constData());
+      anObj->SetParameters(aParameters.join(":").toUtf8().constData());
     objects.push_back( anObj._retn() );
   }
   return true;