]> SALOME platform Git repositories - modules/shaper.git/commitdiff
Salome HOME
#1318 Collinear and coinciding point constraints : the cash should be cleared before...
authornds <nds@opencascade.com>
Sat, 20 Feb 2016 16:22:21 +0000 (19:22 +0300)
committernds <nds@opencascade.com>
Sat, 20 Feb 2016 16:22:21 +0000 (19:22 +0300)
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();
 }
 
 //********************************************************************