attempt to fix run

This commit is contained in:
benfry
2011-03-06 01:01:51 +00:00
parent 61f1cce4a3
commit ada279bb6d

View File

@@ -552,6 +552,13 @@ public class JavaEditor extends Editor {
}
public void statusError(String what) {
super.statusError(what);
// new Exception("deactivating RUN").printStackTrace();
toolbar.deactivate(JavaToolbar.RUN);
}
/**
* Deactivate the Run button. This is called by Runner to notify that the
* sketch has stopped running, usually in response to an error (or maybe