From feb2ddbefa5f6f702b996b00dfd92db53a52d174 Mon Sep 17 00:00:00 2001 From: Patric Stout Date: Thu, 3 Jun 2021 21:18:29 +0200 Subject: Codechange: rename SettingGuiFlag to SettingFlag (#9332) It is a lovely organicly grown enum, where it started off with GUI-only flags, and after that a few flags got added that can be considered GUI-only (the GUI disables/enables based on them), to only have flags added that has nothing to do with the GUI. So be less confusing, and rename them to what they do. Additionally, I took this opportunity to rename 0ISDISABLED to reflect what it really does. --- src/table/settings/window_settings.ini | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/table/settings/window_settings.ini') diff --git a/src/table/settings/window_settings.ini b/src/table/settings/window_settings.ini index 17596a4d5..f9301ef2c 100644 --- a/src/table/settings/window_settings.ini +++ b/src/table/settings/window_settings.ini @@ -21,7 +21,7 @@ SDT_VAR = static_assert($max <= MAX_$type, "Maximum value for WindowDesc.$var ex [defaults] flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC -guiflags = SGF_NONE +guiflags = SF_NONE interval = 0 str = STR_NULL strhelp = STR_CONFIG_SETTING_NO_EXPLANATION_AVAILABLE_HELPTEXT -- cgit v1.2.3-54-g00ecf