1
0
mirror of https://git.suyu.dev/suyu/suyu synced 2025-09-08 23:36:34 -05:00

settings: Move IsConfiguringGlobal to settings_common

This commit is contained in:
lat9nq
2023-06-13 19:37:41 -04:00
parent 3b0650b70d
commit b4f2ad3ff5
4 changed files with 13 additions and 12 deletions

View File

@@ -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