Skip to content

Commit

Permalink
Fix port picker trigger event (#3781)
Browse files Browse the repository at this point in the history
  • Loading branch information
haslinghuis authored Feb 4, 2024
1 parent 5feb4ef commit 72429eb
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/js/port_handler.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 72429eb

Please sign in to comment.