From: nds Date: Thu, 17 Sep 2015 05:04:03 +0000 (+0300) Subject: Issue #986 activate field after apply constarint on one object X-Git-Tag: V_1.4.0~49 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=2d3d34a90d05d2309c60be32cd62ee3e81c4deb1;p=modules%2Fshaper.git Issue #986 activate field after apply constarint on one object It blocks signals of widgets, which are to be removed --- diff --git a/src/XGUI/XGUI_PropertyPanel.cpp b/src/XGUI/XGUI_PropertyPanel.cpp index 89cc82a27..d4bb4370b 100644 --- a/src/XGUI/XGUI_PropertyPanel.cpp +++ b/src/XGUI/XGUI_PropertyPanel.cpp @@ -84,8 +84,12 @@ void XGUI_PropertyPanel::cleanContent() if (myActiveWidget) myActiveWidget->deactivate(); - // as the widgets are deleted later, it is important that the signals - // of these widgets are not processed. An example of the error is issue 986. + /// as the widgets are deleted later, it is important that the signals + /// of these widgets are not processed. An example of the error is issue 986. + /// In the given case, the property panel is firstly filled by new widgets + /// of restarted operation and after that the mouse release signal come from + /// the widget of the previous operation (Point2d widget about mouse is released + /// and focus is out of this widget) QList::const_iterator anIt = myWidgets.begin(), aLast = myWidgets.end(); for (; anIt != aLast; anIt++) {