summaryrefslogtreecommitdiff
path: root/src/common/settings.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/common/settings.cpp')
-rw-r--r--src/common/settings.cpp10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/common/settings.cpp b/src/common/settings.cpp
index 59d24a053..4c1cd1cac 100644
--- a/src/common/settings.cpp
+++ b/src/common/settings.cpp
@@ -287,4 +287,14 @@ void RestoreGlobalState(bool is_powered_on) {
287 } 287 }
288} 288}
289 289
290static bool configuring_global = true;
291
292bool IsConfiguringGlobal() {
293 return configuring_global;
294}
295
296void SetConfiguringGlobal(bool is_global) {
297 configuring_global = is_global;
298}
299
290} // namespace Settings 300} // namespace Settings