From a65eaac85fcdaa5c7f05a2092bfb15010772c6a4 Mon Sep 17 00:00:00 2001 From: Owen Arnold Date: Mon, 14 Jul 2014 14:54:39 +0100 Subject: [PATCH] refs #9887. Fix BinMD/SliceMD dialogs. --- .../MantidQt/CustomDialogs/src/SlicingAlgorithmDialog.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Code/Mantid/MantidQt/CustomDialogs/src/SlicingAlgorithmDialog.cpp b/Code/Mantid/MantidQt/CustomDialogs/src/SlicingAlgorithmDialog.cpp index 2ea031255630..e36a785d03a4 100644 --- a/Code/Mantid/MantidQt/CustomDialogs/src/SlicingAlgorithmDialog.cpp +++ b/Code/Mantid/MantidQt/CustomDialogs/src/SlicingAlgorithmDialog.cpp @@ -49,9 +49,11 @@ namespace MantidQt ui.txt_memory->setValidator(new QIntValidator(this)); ui.txt_resursion_depth->setValidator(new QIntValidator(this)); + /* + Do not need to connect up Accept/Reject. This gets done automatically, and the AlgorithmDialog base class + handles the slots. + */ connect(ui.workspace_selector,SIGNAL(activated(int)),this ,SLOT(onWorkspaceChanged())); - connect(ui.controls, SIGNAL(accepted()), this, SLOT(accept())); - connect(ui.controls, SIGNAL(rejected()), this, SLOT(reject())); connect(ui.ck_axis_aligned, SIGNAL(clicked(bool)), this, SLOT(onAxisAlignedChanged(bool))); connect(ui.ck_max_from_input, SIGNAL(clicked(bool)), this, SLOT(onMaxFromInput(bool))); connect(ui.ck_calculate, SIGNAL(clicked(bool)), this, SLOT(onCalculateChanged(bool)));