Skip to content

Commit

Permalink
Merge pull request #1979 from Asizon/fixClosingProblemsDialog
Browse files Browse the repository at this point in the history
  • Loading branch information
mikeller authored Apr 25, 2020
2 parents f9235b5 + 2c45c1b commit 3f9f632
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/js/serial_backend.js
Original file line number Diff line number Diff line change
Expand Up @@ -165,6 +165,9 @@ function finishClose(finishedCallback) {

GUI.connected_to = false;
GUI.allowedTabs = GUI.defaultAllowedTabsWhenDisconnected.slice();
// close problems dialog
$('#dialogReportProblems-closebtn').click();

// Reset various UI elements
$('span.i2c-error').text(0);
$('span.cycle-time').text(0);
Expand Down

0 comments on commit 3f9f632

Please sign in to comment.