common: Move global configuration state modifiers back to settings
This commit is contained in:
parent
b02e7eea78
commit
3211623192
5 changed files with 14 additions and 13 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue