Add dropdown list to another setting

This commit is contained in:
twinaphex 2018-09-23 14:44:42 +02:00
parent 19a2af4ee3
commit 53e3299e6f

View File

@ -6109,6 +6109,8 @@ static bool setting_append_list(
parent_group, parent_group,
general_write_handler, general_write_handler,
general_read_handler); general_read_handler);
(*list)[list_info->index - 1].action_ok = &setting_action_ok_uint;
(*list)[list_info->index - 1].offset_by = 1;
menu_settings_list_current_add_range(list, list_info, 1, 6, 1, true, true); menu_settings_list_current_add_range(list, list_info, 1, 6, 1, true, true);
#if defined(HAVE_DYNAMIC) || defined(HAVE_DYLIB) #if defined(HAVE_DYNAMIC) || defined(HAVE_DYLIB)