-// Copyright (C) 2014-2019 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
return false;
QString aValue = myLineEdit->text();
- std::string aName = aValue.toStdString();
+ std::wstring aName = aValue.toStdWString();
myFeature->data()->setName(aName);
ResultPtr aRes = myFeature->firstResult();
if (aRes.get())
return false;
bool isBlocked = myLineEdit->blockSignals(true);
- myLineEdit->setText(QString::fromStdString(myFeature->data()->name()));
+ myLineEdit->setText(QString::fromStdWString(myFeature->data()->name()));
myLineEdit->blockSignals(isBlocked);
return true;