mirror of
https://github.com/GoldenCheetah/GoldenCheetah.git
synced 2026-02-15 17:09:56 +00:00
UI Nits: Style selection wonky
The splash screens broke the setting of the style selector in the toolbar. They got out of sync. This fixes that. FWIW, I introduced the bug!
This commit is contained in:
@@ -1618,9 +1618,9 @@ MainWindow::selectAnalysis()
|
||||
scopebar->selected(2);
|
||||
#endif
|
||||
toolBox->setCurrentIndex(0);
|
||||
setStyle();
|
||||
}
|
||||
currentWindow = analWindow;
|
||||
setStyle();
|
||||
}
|
||||
|
||||
void
|
||||
@@ -1661,9 +1661,9 @@ MainWindow::selectTrain()
|
||||
scopebar->selected(3);
|
||||
#endif
|
||||
toolBox->setCurrentIndex(2);
|
||||
setStyle();
|
||||
}
|
||||
currentWindow = trainWindow;
|
||||
setStyle();
|
||||
}
|
||||
|
||||
void
|
||||
@@ -1699,9 +1699,9 @@ MainWindow::selectDiary()
|
||||
#endif
|
||||
toolBox->setCurrentIndex(1);
|
||||
gcCalendar->refresh(); // get that signal with the date range...
|
||||
setStyle();
|
||||
}
|
||||
currentWindow = diaryWindow;
|
||||
setStyle();
|
||||
}
|
||||
|
||||
void
|
||||
@@ -1737,9 +1737,9 @@ MainWindow::selectHome()
|
||||
scopebar->selected(0);
|
||||
#endif
|
||||
toolBox->setCurrentIndex(3);
|
||||
setStyle();
|
||||
}
|
||||
currentWindow = homeWindow;
|
||||
setStyle();
|
||||
}
|
||||
void
|
||||
MainWindow::selectAthlete()
|
||||
|
||||
Reference in New Issue
Block a user