From cbc54d4a01968286d45c873e4495192293174786 Mon Sep 17 00:00:00 2001 From: nds Date: Sat, 20 Feb 2016 19:22:21 +0300 Subject: [PATCH] #1318 Collinear and coinciding point constraints : the cash should be cleared before focus change as the widget is changed in some cases. --- src/ModuleBase/ModuleBase_WidgetSelector.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/ModuleBase/ModuleBase_WidgetSelector.cpp b/src/ModuleBase/ModuleBase_WidgetSelector.cpp index 02bb297ff..8aed922a3 100755 --- a/src/ModuleBase/ModuleBase_WidgetSelector.cpp +++ b/src/ModuleBase/ModuleBase_WidgetSelector.cpp @@ -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(); } //******************************************************************** -- 2.39.2