Salome HOME
updated copyright message
[modules/shaper.git] / src / ModuleBase / ModuleBase_WidgetFeatureSelector.cpp
index f76eb34e1321318e642fa2954af1c28c1192bfdd..4acbe1dbb573c4c8218e8d5e262df335691f67bf 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2023  CEA, EDF
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
@@ -183,8 +183,8 @@ void ModuleBase_WidgetFeatureSelector::updateSelectionName()
 
   ObjectPtr anObject = ModuleBase_Tools::getObject(myFeature->attribute(attributeID()));
   if (anObject.get() != NULL) {
-    std::string aName = anObject->data()->name();
-    myTextLine->setText(QString::fromStdString(aName));
+    std::wstring aName = anObject->data()->name();
+    myTextLine->setText(QString::fromStdWString(aName));
   } else {
     myTextLine->clear();
   }