This commit is contained in:
sfop
2016-06-27 17:05:20 +02:00
parent cbcee1919b
commit 43efcf1615

View File

@@ -47,7 +47,7 @@ public class GunSolenoidAlignment extends Panel {
@Override
public void onStateChange(State state, State former) {
buttonAbort.setEnabled(state.isRunning());
buttonAbort.setEnabled(state == State.Busy);
buttonRun.setEnabled(state == State.Ready);
}