From: nds Date: Mon, 16 Nov 2015 12:34:58 +0000 (+0300) Subject: Apply is disabled after Enter in the Parameter expression(this is a regression, calle... X-Git-Tag: V_2.0.0_alfa2~7 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=671155d87d3ecc074b3e6bac0ab834d9c524907a;p=modules%2Fshaper.git Apply is disabled after Enter in the Parameter expression(this is a regression, called by correcting of the #1083: errors in parameter) Icons for multi-translation/rotation. --- diff --git a/src/PartSet/icons/angle_up_32x32.png b/src/PartSet/icons/angle_up_32x32.png old mode 100644 new mode 100755 index 046ec7675..b8194b883 Binary files a/src/PartSet/icons/angle_up_32x32.png and b/src/PartSet/icons/angle_up_32x32.png differ diff --git a/src/PartSet/icons/angle_up_full_32x32.png b/src/PartSet/icons/angle_up_full_32x32.png index fdcde01a5..3fc714c59 100755 Binary files a/src/PartSet/icons/angle_up_full_32x32.png and b/src/PartSet/icons/angle_up_full_32x32.png differ diff --git a/src/PartSet/icons/translate_32x32.png b/src/PartSet/icons/translate_32x32.png index 28f064bd7..20391da43 100755 Binary files a/src/PartSet/icons/translate_32x32.png and b/src/PartSet/icons/translate_32x32.png differ diff --git a/src/PartSet/icons/translate_full_32x32.png b/src/PartSet/icons/translate_full_32x32.png index 2f876889b..1fd53d9d7 100755 Binary files a/src/PartSet/icons/translate_full_32x32.png and b/src/PartSet/icons/translate_full_32x32.png differ diff --git a/src/XGUI/XGUI_Workshop.cpp b/src/XGUI/XGUI_Workshop.cpp index 2199df248..ba40bfe1c 100755 --- a/src/XGUI/XGUI_Workshop.cpp +++ b/src/XGUI/XGUI_Workshop.cpp @@ -620,9 +620,11 @@ 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())); } } }