Show/hide scopebar with toolbar

When showing / hiding the toolbar we also show / hide
the scope bar. This is so when in train mode and you go
full screen it is possible to hide all ornamentation.

This will become a moot point when the scope bar is
replaced with 'appstore style icons' in the toolbar
to switch between home, analysis, train etc.
This commit is contained in:
Mark Liversedge
2013-10-27 21:11:59 +00:00
parent cc2a0efe3e
commit 68bbb05568

View File

@@ -627,8 +627,14 @@ MainWindow::showSidebar(bool want)
void
MainWindow::showToolbar(bool want)
{
if (want) head->show();
else head->hide();
if (want) {
head->show();
scopebar->show();
}
else {
head->hide();
scopebar->hide();
}
}
void