settings: Move IsConfiguringGlobal to settings_common
This commit is contained in:
parent
3b0650b70d
commit
b4f2ad3ff5
4 changed files with 13 additions and 12 deletions
|
@ -42,4 +42,14 @@ const std::string& BasicSetting::GetLabel() const {
|
|||
return label;
|
||||
}
|
||||
|
||||
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