From: nds Date: Sat, 20 Feb 2016 16:22:21 +0000 (+0300) Subject: #1318 Collinear and coinciding point constraints : the cash should be cleared before... X-Git-Tag: V_2.2.0~79 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=cbc54d4a01968286d45c873e4495192293174786;p=modules%2Fshaper.git #1318 Collinear and coinciding point constraints : the cash should be cleared before focus change as the widget is changed in some cases. --- 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(); } //********************************************************************