Salome HOME
Unicode support: correct handling of unicode on GUI level
[modules/geom.git] / src / OperationGUI / OperationGUI_ExtractionDlg.cxx
index 7837cc027d3ff679747b563a2725e90b9716f1a0..7a9356bf5ed07f62883bf6572dc83d5557d776bc 100644 (file)
@@ -799,7 +799,7 @@ void OperationGUI_ExtractionDlg::onListSelectionChanged()
       // Collect only displayed sub-shapes for selection in the viewer.
       QString                          anEntry = getSubShapeEntry(anIndex);
       Handle(SALOME_InteractiveObject) anIO    =
-                                      createIO(anEntry.toLatin1().data());
+                                      createIO(anEntry.toUtf8().data());
 
       anIOList.Append(anIO);
     }
@@ -815,7 +815,7 @@ void OperationGUI_ExtractionDlg::onListSelectionChanged()
         // Collect only displayed sub-shapes for selection in the viewer.
         QString                          anEntry = getSubShapeEntry(anIndex);
         Handle(SALOME_InteractiveObject) anIO    =
-                                    createIO(anEntry.toLatin1().data());
+                                    createIO(anEntry.toUtf8().data());
 
         anIOList.Append(anIO);
       }
@@ -1286,7 +1286,7 @@ void OperationGUI_ExtractionDlg::eraseSubShape(const int theId)
 {
   QString                          anEntry = getSubShapeEntry(theId);
   Handle(SALOME_InteractiveObject) anIO    =
-                                      createIO(anEntry.toLatin1().data());
+                                      createIO(anEntry.toUtf8().data());
 
   getDisplayer()->Erase(anIO, false, false);
   myMapDisplayedIDs.Remove(theId);