diff options
| author | lat9nq <22451773+lat9nq@users.noreply.github.com> | 2023-07-18 15:49:36 -0400 |
|---|---|---|
| committer | lat9nq <22451773+lat9nq@users.noreply.github.com> | 2023-07-21 10:56:55 -0400 |
| commit | 5c0cf58f73c414d6bb87ba3191a958e8a23f70fd (patch) | |
| tree | 61ffe216c4246ee63f387169cc2eecb0dc80e216 /src/common/settings.cpp | |
| parent | fc4d2cbf344a5412c0744e6059d4bea2760a91d8 (diff) | |
common: Move global configuration state modifiers back to settings
Diffstat (limited to 'src/common/settings.cpp')
| -rw-r--r-- | src/common/settings.cpp | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/common/settings.cpp b/src/common/settings.cpp index 59d24a0534..4c1cd1cacb 100644 --- a/src/common/settings.cpp +++ b/src/common/settings.cpp @@ -287,4 +287,14 @@ void RestoreGlobalState(bool is_powered_on) { } } +static bool configuring_global = true; + +bool IsConfiguringGlobal() { + return configuring_global; +} + +void SetConfiguringGlobal(bool is_global) { + configuring_global = is_global; +} + } // namespace Settings |
