Skip to content

Commit

Permalink
Refs #6473. Hide label for MWRunFiles widget if it is empty.
Browse files Browse the repository at this point in the history
  • Loading branch information
arturbekasov committed Nov 19, 2013
1 parent 3fddfa4 commit 7ab9e19
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Code/Mantid/MantidQt/MantidWidgets/src/MWRunFiles.cpp
Expand Up @@ -276,6 +276,7 @@ QString MWRunFiles::getLabelText() const
void MWRunFiles::setLabelText(const QString & text)
{
m_uiForm.textLabel->setText(text);
m_uiForm.textLabel->setVisible( ! text.isEmpty() );
}

/** Set the minimum width on the label widget
Expand Down

0 comments on commit 7ab9e19

Please sign in to comment.