mirror of
https://github.com/GoldenCheetah/GoldenCheetah.git
synced 2026-02-13 16:18:42 +00:00
Restart RideCache refresh on Config changes
.. need to restart any in-progress refresh if you change config that affects it whilst it is running !
This commit is contained in:
@@ -112,6 +112,9 @@ RideCache::configChanged(qint32 what)
|
||||
// will add more as they come
|
||||
qint32 want = CONFIG_ATHLETE | CONFIG_ZONES | CONFIG_NOTECOLOR | CONFIG_GENERAL;
|
||||
if (what & want) {
|
||||
|
||||
// restart !
|
||||
cancel();
|
||||
refresh();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user