Skip to content

Commit

Permalink
Re #8695. Display the default instrument name in the title bar.
Browse files Browse the repository at this point in the history
  • Loading branch information
RussellTaylor committed Jan 10, 2014
1 parent 4f516c5 commit 227150c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Code/Mantid/MantidQt/CustomInterfaces/src/StepScan.cpp
Expand Up @@ -56,6 +56,8 @@ void StepScan::initLayout()
m_uiForm.xmin->setValidator(new QDoubleValidator(m_uiForm.xmin));
m_uiForm.xmax->setValidator(new QDoubleValidator(m_uiForm.xmax));

setWindowTitle(windowTitle() + " - " + QString::fromStdString(m_instrument));

connect( m_uiForm.mWRunFiles, SIGNAL(liveButtonPressed(bool)), SLOT(triggerLiveListener(bool)), Qt::QueuedConnection );

connect( m_uiForm.launchInstView, SIGNAL(clicked()), SLOT(launchInstrumentWindow()) );
Expand Down

0 comments on commit 227150c

Please sign in to comment.