Skip to content

Commit

Permalink
Don't use negative sizes in the max width settings.
Browse files Browse the repository at this point in the history
Refs #9843
  • Loading branch information
martyngigg committed Sep 23, 2014
1 parent 04c5744 commit f18d79b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Code/Mantid/MantidPlot/src/ApplicationWindow.cpp
Expand Up @@ -601,7 +601,7 @@ void ApplicationWindow::init(bool factorySettings, const QStringList& args)
// size but then still be resizable.
m_sysMonitorDock->setMaximumWidth(300);
addDockWidget(Qt::RightDockWidgetArea, m_sysMonitorDock);
m_sysMonitorDock->setMaximumWidth(-1);
m_sysMonitorDock->setMaximumWidth(QWIDGETSIZE_MAX); // reset it
}
tabifyDockWidget(mantidUI->m_exploreAlgorithms, m_sysMonitorDock); // first, second in that order on tabs
mantidUI->m_exploreAlgorithms->raise();
Expand Down

0 comments on commit f18d79b

Please sign in to comment.