-// Copyright (C) 2014-2020 CEA/DEN, EDF R&D
+// Copyright (C) 2014-2024 CEA, EDF
//
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
const Config_WidgetAPI* theData)
: QWidget(theParent),
myWidgetValidator(0),
- myIsEditing(false),
myState(Stored),
+ myIsEditing(false),
myIsValueStateBlocked(false),
myFlushUpdateBlocked(false)
{
if (!feature().get())
return anError;
- std::string aFeatureID = feature()->getKind();
std::string anAttributeID = attributeID();
AttributePtr anAttribute = feature()->attribute(anAttributeID);
if (!anAttribute.get())
anErrorMsg = "Unknown error.";
if (anErrorMsg.context().empty()) {
- anErrorMsg.setContext(aFeatureID + ":" + anAttributeID + ":" + aValidatorID);
+ anErrorMsg.setContext(context() + ":" + aValidatorID);
}
}