From 72429ebcd06c6e556fec9868711976569ef0483c Mon Sep 17 00:00:00 2001 From: Mark Haslinghuis Date: Sun, 4 Feb 2024 12:00:34 +0100 Subject: [PATCH] Fix port picker trigger event (#3781) --- src/js/port_handler.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/js/port_handler.js b/src/js/port_handler.js index c689c65514..9b923fe346 100644 --- a/src/js/port_handler.js +++ b/src/js/port_handler.js @@ -227,9 +227,10 @@ PortHandler.detectPort = function(currentPorts) { // Signal board verification if (GUI.active_tab === 'firmware_flasher' && TABS.firmware_flasher.allowBoardDetection) { TABS.firmware_flasher.boardNeedsVerification = true; - self.portPickerElement.trigger('change'); } + self.portPickerElement.trigger('change'); + // auto-connect if enabled if (GUI.auto_connect && !GUI.connecting_to && !GUI.connected_to) { // start connect procedure. We need firmware flasher protection over here