mirror of
https://github.com/GoldenCheetah/GoldenCheetah.git
synced 2026-02-13 16:18:42 +00:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user