Fix #67 Allow alt-<num> to switch between modis

This commit is contained in:
QC
2014-07-21 23:19:45 +02:00
parent 60e23568d8
commit bd4aa3d2fa
5 changed files with 23 additions and 1 deletions

View File

@@ -134,6 +134,9 @@ SwitcherMode script_switcher_dialog ( char **input, void *data )
if ( mretv == MENU_NEXT ) {
retv = NEXT_DIALOG;
}
else if ( mretv == MENU_QUICK_SWITCH ) {
retv = selected_line;
}
else if ( mretv == MENU_OK && list[selected_line] != NULL ) {
new_list = execute_executor ( options, list[selected_line], &new_length );
}