Salome HOME
Simplification of the code: it removes focusNextPrevChild processing.
authornds <nds@opencascade.com>
Fri, 30 Oct 2015 16:02:37 +0000 (19:02 +0300)
committernds <nds@opencascade.com>
Mon, 2 Nov 2015 09:56:35 +0000 (12:56 +0300)
commit87d7ff7e518c103f4319f7395e6491cd2e9406a5
treed236ead3d8fd9031c5dcb50a8ba070f3e09b0bda
parent694c3ff1a0449659db85d40303428e6add7cc2c1
Simplification of the code: it removes focusNextPrevChild processing.

It is not enough to emit signal about focus change here because it can be changed by mouse click in another control. It is not processed in this method.
The same functionality(to store modified value on focus lost) is realized in ::deactivate() of the model widget and processEnter method of the widge.
src/ModuleBase/ModuleBase_DoubleSpinBox.cpp
src/ModuleBase/ModuleBase_DoubleSpinBox.h
src/ModuleBase/ModuleBase_ModelWidget.h
src/ModuleBase/ModuleBase_WidgetDoubleValue.cpp
src/ModuleBase/ModuleBase_WidgetExprEditor.cpp
src/ModuleBase/ModuleBase_WidgetExprEditor.h
src/ModuleBase/ModuleBase_WidgetIntValue.cpp
src/PartSet/PartSet_WidgetPoint2d.cpp
src/PartSet/PartSet_WidgetPoint2d.h
src/XGUI/XGUI_PropertyPanel.cpp
src/XGUI/XGUI_PropertyPanel.h