From 2e48af2c561d5d2b58a4700c2b4e55fa6c492c29 Mon Sep 17 00:00:00 2001 From: abn Date: Fri, 17 Oct 2014 09:25:31 +0200 Subject: [PATCH] Bug fix: restoring Settings connection. --- src/PVGUI/PVGUI_ParaViewSettingsPane.cxx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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())); -- 2.39.2