remove conditional hiding CRT SwitchRes options

Since RPi will support switching without X, these options need to be visible even when there's no display server
This commit is contained in:
hizzlekizzle 2019-01-28 18:42:23 -06:00 committed by GitHub
parent c455a86545
commit a80e15f135
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -6684,10 +6684,9 @@ bool menu_displaylist_ctl(enum menu_displaylist_ctl_state type, menu_displaylist
break;
case DISPLAYLIST_VIDEO_SETTINGS_LIST:
menu_entries_ctl(MENU_ENTRIES_CTL_CLEAR, info->list);
if (!string_is_equal(video_display_server_get_ident(), "null"))
menu_displaylist_parse_settings_enum(menu, info,
MENU_ENUM_LABEL_CRT_SWITCHRES_SETTINGS,
PARSE_ACTION, false);
menu_displaylist_parse_settings_enum(menu, info,
MENU_ENUM_LABEL_CRT_SWITCHRES_SETTINGS,
PARSE_ACTION, false);
menu_displaylist_parse_settings_enum(menu, info,
MENU_ENUM_LABEL_SUSPEND_SCREENSAVER_ENABLE,
PARSE_ONLY_BOOL, false);