diff --git a/MantidQt/CustomInterfaces/inc/MantidQtCustomInterfaces/EnggDiffraction/EnggDiffractionQtGUI.ui b/MantidQt/CustomInterfaces/inc/MantidQtCustomInterfaces/EnggDiffraction/EnggDiffractionQtGUI.ui index 857a5a65389c1db51940fb9d800f6f6b2a84eb6e..07d608c758333a6a562903f9526e48515cfc2eba 100644 --- a/MantidQt/CustomInterfaces/inc/MantidQtCustomInterfaces/EnggDiffraction/EnggDiffractionQtGUI.ui +++ b/MantidQt/CustomInterfaces/inc/MantidQtCustomInterfaces/EnggDiffraction/EnggDiffractionQtGUI.ui @@ -108,7 +108,7 @@ <widget class="QComboBox" name="comboBox_instrument"> <item> <property name="text"> - <string>ENGIN-X</string> + <string>ENGINX</string> </property> </item> </widget> diff --git a/MantidQt/CustomInterfaces/src/EnggDiffraction/EnggDiffractionViewQtGUI.cpp b/MantidQt/CustomInterfaces/src/EnggDiffraction/EnggDiffractionViewQtGUI.cpp index 2c4b2b77bbb0eee0a4b40a2affbe635eb33568b6..99861916153ff2427eb637722c13e352c710f3a1 100644 --- a/MantidQt/CustomInterfaces/src/EnggDiffraction/EnggDiffractionViewQtGUI.cpp +++ b/MantidQt/CustomInterfaces/src/EnggDiffraction/EnggDiffractionViewQtGUI.cpp @@ -55,7 +55,7 @@ const std::string EnggDiffractionViewQtGUI::m_settingsGroup = * @param parent Parent window (most likely the Mantid main app window). */ EnggDiffractionViewQtGUI::EnggDiffractionViewQtGUI(QWidget *parent) - : UserSubWindow(parent), IEnggDiffractionView(), m_currentInst("ENGIN-X"), + : UserSubWindow(parent), IEnggDiffractionView(), m_currentInst("ENGINX"), m_currentCalibFilename(""), m_presenter(NULL) {} EnggDiffractionViewQtGUI::~EnggDiffractionViewQtGUI() {} @@ -78,6 +78,7 @@ void EnggDiffractionViewQtGUI::initLayout() { QComboBox *inst = m_ui.comboBox_instrument; m_currentInst = inst->currentText().toStdString(); + setPrefix(m_currentInst); readSettings();