From: spo Date: Tue, 17 Nov 2015 09:08:13 +0000 (+0300) Subject: Remove connect/disconnect afterValuesChanged to onValidateOperation in XGUI_Workshop X-Git-Tag: V_2.0.0~33 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=e2b78ee32519259662d9b16cefe5ef01ea548ba3;p=modules%2Fshaper.git Remove connect/disconnect afterValuesChanged to onValidateOperation in XGUI_Workshop --- diff --git a/src/XGUI/XGUI_Workshop.cpp b/src/XGUI/XGUI_Workshop.cpp index ba40bfe1c..2199df248 100755 --- a/src/XGUI/XGUI_Workshop.cpp +++ b/src/XGUI/XGUI_Workshop.cpp @@ -620,11 +620,9 @@ void XGUI_Workshop::connectToPropertyPanel(const bool isToConnect) myModule->connectToPropertyPanel(aWidget, isToConnect); if (isToConnect) { connect(aWidget, SIGNAL(valueStateChanged(int)), this, SLOT(onWidgetStateChanged(int))); - connect(aWidget, SIGNAL(afterValuesChanged()), myOperationMgr, SLOT(onValidateOperation())); } else { disconnect(aWidget, SIGNAL(valueStateChanged(int)), this, SLOT(onWidgetStateChanged(int))); - disconnect(aWidget, SIGNAL(afterValuesChanged()), myOperationMgr, SLOT(onValidateOperation())); } } }