Salome HOME
registerNotObligatory is not necessary if this property is set in XML.
[modules/shaper.git] / src / ModuleBase / ModuleBase_WidgetSelector.cpp
index 02bb297ff5d9f1f415c1bc0c160bf80469e0f710..8aed922a3b728e1e29430149f1c20528c3a0260e 100755 (executable)
@@ -58,11 +58,11 @@ void ModuleBase_WidgetSelector::onSelectionChanged()
   // calls validators for the feature and, as a result, updates the Apply button state.
   updateObject(myFeature);
 
-  if (isDone)
-    updateFocus();
-
   // we need to forget about previous validation result as the current selection can influence on it
   clearValidatedCash();
+
+  if (isDone)
+    updateFocus();
 }
 
 //********************************************************************