Commit 04a6d5d2 authored by Hahn, Steven's avatar Hahn, Steven
Browse files

Replace lines that shouldn't have been removed.

parent 6aa24a81
......@@ -29,6 +29,17 @@ ModeControlWidget::ModeControlWidget(QWidget *parent) : QWidget(parent)
this, SLOT(onThreeSliceViewButtonClicked()));
QObject::connect(this->ui.splatterPlotButton, SIGNAL(clicked()),
this, SLOT(onSplatterPlotViewButtonClicked()));
// Add the mapping from string to the view enum
MantidQt::API::MdConstants mdConstants;
mapFromStringToView.emplace(mdConstants.getStandardView(),
ModeControlWidget::STANDARD);
mapFromStringToView.emplace(mdConstants.getThreeSliceView(),
ModeControlWidget::THREESLICE);
mapFromStringToView.emplace(mdConstants.getMultiSliceView(),
ModeControlWidget::MULTISLICE);
mapFromStringToView.emplace(mdConstants.getSplatterPlotView(),
ModeControlWidget::SPLATTERPLOT);
}
ModeControlWidget::~ModeControlWidget()
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment