summaryrefslogtreecommitdiffstats
path: root/source/script-dialog.c
diff options
context:
space:
mode:
authorQC <qball@gmpclient.org>2014-07-21 23:19:45 +0200
committerQC <qball@gmpclient.org>2014-07-21 23:19:45 +0200
commitbd4aa3d2fab19647dea3b4b261b1b701f16f3406 (patch)
tree12ab74f3e243ea72c7502d243cc6347ee3f2de8d /source/script-dialog.c
parent60e23568d82f93f2ac96b70fe329d45c088e12bc (diff)
Fix #67 Allow alt-<num> to switch between modis
Diffstat (limited to 'source/script-dialog.c')
-rw-r--r--source/script-dialog.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/source/script-dialog.c b/source/script-dialog.c
index 321b7534..b4c16e08 100644
--- a/source/script-dialog.c
+++ b/source/script-dialog.c
@@ -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 );
}