mirror of
https://github.com/GoldenCheetah/GoldenCheetah.git
synced 2026-02-13 08:08:42 +00:00
Fix 'Save data' in RealtimeWindow
A previous commit stopped disk updating from working, i.e. saving workout data to a .csv file. This patch fixes that. Fix supplied by Greg Lonnon, Fixes #254.
This commit is contained in:
@@ -389,6 +389,11 @@ void RealtimeWindow::Start() // when start button is pressed
|
||||
if (status & RT_WORKOUT) {
|
||||
load_timer->start(LOADRATE); // start recording
|
||||
}
|
||||
|
||||
if (recordSelector->isChecked()) {
|
||||
status |= RT_RECORDING;
|
||||
}
|
||||
|
||||
if (status & RT_RECORDING) {
|
||||
QDateTime now = QDateTime::currentDateTime();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user