From: vsv Date: Thu, 18 Jan 2018 09:39:54 +0000 (+0300) Subject: Issues #2407 and #2403: Contradiction with application features X-Git-Tag: V_3.0.0RC1~24 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=43a56ddb326b92ac45bfc823686b132685793203;p=modules%2Fshaper.git Issues #2407 and #2403: Contradiction with application features --- diff --git a/src/ModuleBase/ModuleBase_WidgetNameEdit.cpp b/src/ModuleBase/ModuleBase_WidgetNameEdit.cpp index 9684eb79b..d12f7c9ed 100644 --- a/src/ModuleBase/ModuleBase_WidgetNameEdit.cpp +++ b/src/ModuleBase/ModuleBase_WidgetNameEdit.cpp @@ -24,17 +24,6 @@ #include -ModuleBase_WidgetNameEdit::ModuleBase_WidgetNameEdit(QWidget* theParent, - const Config_WidgetAPI* theData, - const std::string& thePlaceHolder ) - : ModuleBase_WidgetLineEdit(theParent, theData, thePlaceHolder) -{ - // Disconnect the signal in order to avoid Apply button activation automatically - // it will activate apply because of value isApplyEnabledByActiveWidget in - // XGUI_ErrorMgr::updateActions - disconnect(myLineEdit, SIGNAL(textChanged(const QString&)), this, SIGNAL(valuesModified())); -} - bool ModuleBase_WidgetNameEdit::storeValueCustom() { diff --git a/src/ModuleBase/ModuleBase_WidgetNameEdit.h b/src/ModuleBase/ModuleBase_WidgetNameEdit.h index 5dda6b77e..44a1a1e52 100644 --- a/src/ModuleBase/ModuleBase_WidgetNameEdit.h +++ b/src/ModuleBase/ModuleBase_WidgetNameEdit.h @@ -28,9 +28,10 @@ class ModuleBase_WidgetNameEdit : public ModuleBase_WidgetLineEdit { Q_OBJECT public: - ModuleBase_WidgetNameEdit( QWidget* theParent, - const Config_WidgetAPI* theData, - const std::string& thePlaceHolder ); + ModuleBase_WidgetNameEdit(QWidget* theParent, + const Config_WidgetAPI* theData, + const std::string& thePlaceHolder) + : ModuleBase_WidgetLineEdit(theParent, theData, thePlaceHolder) {} /// Returns True if the widget uses feature attribute. /// If not then it means that the widget do not need attribute at all.