From a39f874c716b1eaf93493258181483c48c3fc65d Mon Sep 17 00:00:00 2001 From: Simon Smith Date: Mon, 9 Oct 2023 21:14:06 +0100 Subject: [PATCH] fix random files connect button vanishing (#5409) --- views/default.handlebars | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/views/default.handlebars b/views/default.handlebars index 631b708c..2589febf 100644 --- a/views/default.handlebars +++ b/views/default.handlebars @@ -10574,7 +10574,8 @@ } function onFilesStateChange(xfiles, state) { - QV('p13Connect', (state == 0) && (files == null) && (filesNode.mtype == 2)); + setSessionActivity(); + QV('p13Connect', (state == 0) && (filesNode.mtype == 2)); QV('p13Connects', (state == 0) && (features2 & 0x200) && (filesNode.agent != null) && (filesNode.agent.id != 3) && (filesNode.agent.id != 4) && ((features2 & 0x800000) == 0)); QV('p13Disconnect', state != 0); var str = StatusStrs[state];