From: abn Date: Fri, 17 Oct 2014 07:25:31 +0000 (+0200) Subject: Bug fix: restoring Settings connection. X-Git-Tag: V7_5_0b1~21 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=2e48af2c561d5d2b58a4700c2b4e55fa6c492c29;p=modules%2Fparavis.git Bug fix: restoring Settings connection. --- diff --git a/src/PVGUI/PVGUI_ParaViewSettingsPane.cxx b/src/PVGUI/PVGUI_ParaViewSettingsPane.cxx index bd7e2611..ac9e5431 100644 --- a/src/PVGUI/PVGUI_ParaViewSettingsPane.cxx +++ b/src/PVGUI/PVGUI_ParaViewSettingsPane.cxx @@ -128,8 +128,8 @@ PVGUI_ParaViewSettingsPane::PVGUI_ParaViewSettingsPane(QWidget *widgetParent) widget->setApplyChangesImmediately(false); widget->setView(NULL); -// widget->connect(this, SIGNAL(accepted()), SLOT(apply())); -// widget->connect(this, SIGNAL(rejected()), SLOT(reset())); + widget->connect(this, SIGNAL(accepted()), SLOT(apply())); + widget->connect(this, SIGNAL(rejected()), SLOT(reset())); this->connect(widget, SIGNAL(restartRequired()), SLOT(showRestartRequiredMessage())); vbox->addWidget(widget); @@ -156,8 +156,8 @@ PVGUI_ParaViewSettingsPane::PVGUI_ParaViewSettingsPane(QWidget *widgetParent) // this->connect(ui.buttonBox->button(QDialogButtonBox::RestoreDefaults), SIGNAL(clicked()), // SLOT(onRestoreDefaults())); // this->connect(ui.buttonBox, SIGNAL(clicked(QAbstractButton*)), SLOT(clicked(QAbstractButton*))); -// this->connect(this, SIGNAL(accepted()), SLOT(onAccepted())); -// this->connect(this, SIGNAL(rejected()), SLOT(onRejected())); + this->connect(this, SIGNAL(accepted()), SLOT(onAccepted())); + this->connect(this, SIGNAL(rejected()), SLOT(onRejected())); this->connect(ui.tabBar, SIGNAL(currentChanged(int)), this, SLOT(onTabIndexChanged(int))); this->connect(ui.SearchBox, SIGNAL(advancedSearchActivated(bool)), SLOT(filterPanelWidgets()));