Salome HOME
Unicode support: correct handling of unicode on GUI level
[modules/smesh.git] / src / StdMeshersGUI / StdMeshersGUI_LayerDistributionParamWdg.cxx
index 9f1de0c28e375fdb4a5b8b21152e210d73ad75a9..4604833edfd13876a3b96c905b4cac5008c778ed 100644 (file)
@@ -167,7 +167,7 @@ void StdMeshersGUI_LayerDistributionParamWdg::onHypTypePopup( QAction* a )
   QString aServLib = aHypData->ServerLibName;
   QString aHypType = aHypData->TypeName;
   try {
-    set( gen->CreateHypothesis(aHypType.toLatin1().data(), aServLib.toLatin1().data()));
+    set( gen->CreateHypothesis(aHypType.toLatin1().data(), aServLib.toUtf8().data()));
   }
   catch (const SALOME::SALOME_Exception & S_ex) {
     SalomeApp_Tools::QtCatchCorbaException(S_ex);