Salome HOME
Processing of 'selection_filter' xml nodes added.
[modules/shaper.git] / src / ModuleBase / ModuleBase_WidgetBoolValue.cpp
index 4e0ceee4c1dfb7e405798432d9882c7b3b5ebcd3..2d2f45673d7bbe58f6f0465e66d32b6676e40198 100644 (file)
@@ -24,7 +24,7 @@ ModuleBase_WidgetBoolValue::ModuleBase_WidgetBoolValue(QWidget* theParent,
 {
   QString aText = QString::fromStdString(theData->widgetLabel());
   QString aToolTip = QString::fromStdString(theData->widgetTooltip());
-  bool isChecked = theData->getBooleanAttribute(ANY_WDG_DEFAULT, false);
+  bool isChecked = theData->getBooleanAttribute(ATTR_DEFAULT, false);
 
   myCheckBox = new QCheckBox(aText, theParent);
   myCheckBox->setToolTip(aToolTip);