Skip to content

Commit

Permalink
Don't try automatic resume during upload
Browse files Browse the repository at this point in the history
  • Loading branch information
facchinm committed Jul 18, 2019
1 parent 693498f commit 99f6043
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/src/processing/app/AbstractMonitor.java
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ public void actionPerformed(ActionEvent ae) {
suspend();
}
} else {
if (closed) {
if (closed && (Editor.avoidMultipleOperations == false)) {
resume(boardPort);
}
}
Expand Down
2 changes: 1 addition & 1 deletion app/src/processing/app/Editor.java
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ public boolean test(SketchController controller) {

private int numTools = 0;

public boolean avoidMultipleOperations = false;
static public boolean avoidMultipleOperations = false;

private final EditorToolbar toolbar;
// these menus are shared so that they needn't be rebuilt for all windows
Expand Down

0 comments on commit 99f6043

Please sign in to comment.