Skip to content

Commit fc9c1fe

Browse files
committed
Don't try automatic resume during upload
1 parent 6251fc5 commit fc9c1fe

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
@@ -181,7 +181,7 @@ public boolean test(SketchController controller) {
181181

182182
private int numTools = 0;
183183

184-
public boolean avoidMultipleOperations = false;
184+
static public boolean avoidMultipleOperations = false;
185185

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

0 commit comments

Comments
 (0)