summaryrefslogtreecommitdiffstats
path: root/source/dialogs/ssh.c
diff options
context:
space:
mode:
authorDave Davenport <qball@gmpclient.org>2021-04-10 23:04:05 +0200
committerDave Davenport <qball@gmpclient.org>2021-04-10 23:04:05 +0200
commita3f12837cb608b10cc479ceb6579a9a9930726e7 (patch)
tree5b5316098db58f7e989bf8ad808bcfa19b2e7803 /source/dialogs/ssh.c
parent8ac9890e8b737dade630f898fcfa19770aa04414 (diff)
Partially fix switching between modi, does not work for script mode.
Issue: #1286
Diffstat (limited to 'source/dialogs/ssh.c')
-rw-r--r--source/dialogs/ssh.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source/dialogs/ssh.c b/source/dialogs/ssh.c
index 51e19a7c..76f0d75f 100644
--- a/source/dialogs/ssh.c
+++ b/source/dialogs/ssh.c
@@ -606,6 +606,8 @@ static ModeMode ssh_mode_result ( Mode *sw, int mretv, char **input, unsigned in
retv = RELOAD_DIALOG;
ssh_mode_destroy ( sw );
ssh_mode_init ( sw );
+ } else if ( mretv & MENU_CUSTOM_COMMAND ) {
+ retv = ( mretv & MENU_LOWER_MASK );
}
return retv;
}