mirror of
https://github.com/GoldenCheetah/GoldenCheetah.git
synced 2026-02-15 17:09:56 +00:00
ConfigChanged Part 1 of 3
.. introduce concept of configChanged(what) to pass details of what config has been changed .. fixed zones changes to re-read after write to correct the save twice to get changes to zones bug. .. next parts need to spot changes (part 2) and then action appropriately (part 3)
This commit is contained in:
@@ -20,6 +20,7 @@
|
||||
#include "MainWindow.h"
|
||||
#include "Athlete.h"
|
||||
#include "Context.h"
|
||||
#include "ConfigDialog.h"
|
||||
|
||||
// WIZARD FLOW
|
||||
//
|
||||
@@ -1241,7 +1242,7 @@ AddFinal::validatePage()
|
||||
all.writeConfig(list);
|
||||
|
||||
// tell everyone
|
||||
wizard->context->notifyConfigChanged();
|
||||
wizard->context->notifyConfigChanged(CONFIG_DEVICES);
|
||||
|
||||
// shut down the controller, if it is there, since it will
|
||||
// still be connected to the device (in case we hit the back button)
|
||||
|
||||
Reference in New Issue
Block a user