From f1a348b251a02f120c3a442fabb286ec3a9ce0a4 Mon Sep 17 00:00:00 2001 From: Frans de Jonge Date: Mon, 24 Dec 2018 20:36:09 +0100 Subject: [PATCH] [UX] SSH: double info dialog timeout (#4417) I tried to actually use this feature and five seconds isn't enough time to register the relevant IP:port to connect. I'd add a menu item to call up the info (without a timeout) but this is just a web interface quickie. --- plugins/SSH.koplugin/main.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/SSH.koplugin/main.lua b/plugins/SSH.koplugin/main.lua index fa5d35568..e378b79fa 100644 --- a/plugins/SSH.koplugin/main.lua +++ b/plugins/SSH.koplugin/main.lua @@ -65,7 +65,7 @@ function SSH:start() logger.dbg("[Network] Launching SSH server : ", cmd) if os.execute(cmd) == 0 then local info = InfoMessage:new{ - timeout = 5, + timeout = 10, text = string.format("%s %s \n %s", _("SSH port: "), self.SSH_port, Device.retrieveNetworkInfo and Device:retrieveNetworkInfo() or _("Could not retrieve network info.")),