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:
Mark Liversedge
2013-01-26 13:14:32 +00:00
parent eba229bf90
commit fbf13e6956

View File

@@ -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()