Fix shaded trees setting

This commit is contained in:
dP
2022-08-24 19:43:58 +03:00
parent 314d11e286
commit 691708dac5

View File

@@ -3,6 +3,7 @@ static void cm_v_RedrawStatusBar(int32 p1);
static std::initializer_list<const char*> _order_mod_actions{"nothing", "full_load", "transfer", "unload_all", "feeder_load", "feeder_unload", "no_load"};
static std::initializer_list<const char*> _mod_keys{"none", "shift", "ctrl", "alt"};
static std::initializer_list<const char*> _shaded_tree_options{"always_off", "always_on", "as_server"};
static const SettingVariant _cmclient_settings_table[] = {
[post-amble]
@@ -210,7 +211,8 @@ cat = SC_ADVANCED
[SDTC_VAR]
var = gui.cm_shaded_trees
type = SLE_UINT8
guiflags = SGF_MULTISTRING
flags = SF_NOT_IN_SAVE | SF_NO_NETWORK_SYNC | SF_GUI_DROPDOWN
full = _shaded_tree_options
def = 2
min = 0
max = 2