Skip to content

Commit d195cc4

Browse files
committed
Don't try automatic resume during upload
1 parent a4b55bb commit d195cc4

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

app/src/processing/app/AbstractMonitor.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ public void actionPerformed(ActionEvent ae) {
8383
suspend();
8484
}
8585
} else {
86-
if (closed) {
86+
if (closed && (Editor.avoidMultipleOperations == false)) {
8787
resume(boardPort);
8888
}
8989
}

app/src/processing/app/Editor.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ public boolean test(SketchController sketch) {
176176

177177
private int numTools = 0;
178178

179-
public boolean avoidMultipleOperations = false;
179+
static public boolean avoidMultipleOperations = false;
180180

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

0 commit comments

Comments
 (0)