mirror of
https://github.com/GoldenCheetah/GoldenCheetah.git
synced 2026-02-14 16:39:57 +00:00
Fixed bug whereby CSV file was corrupted.
When Device was not available, Realtime was creating a corrupted CSV. If Device is not availble at startup, the ride file is removed.
This commit is contained in:
@@ -81,7 +81,7 @@ void SimpleNetworkController::getRealtimeData(RealtimeData &rtData) {
|
||||
msgBox.setText("Cannot Connect to peer");
|
||||
msgBox.setIcon(QMessageBox::Critical);
|
||||
msgBox.exec();
|
||||
parent->Stop();
|
||||
parent->Stop(DEVICE_OK);
|
||||
}
|
||||
|
||||
if (!client.getRealtimeData(data_cache)) {
|
||||
|
||||
Reference in New Issue
Block a user