mirror of
https://github.com/hneemann/Digital.git
synced 2025-09-26 22:41:59 -04:00
fixed problems with "C" hotkey in single gate mode
This commit is contained in:
parent
fde688d3cb
commit
08fc96c29f
@ -273,12 +273,7 @@ public final class Main extends JFrame implements ClosingWindowListener.ConfirmS
|
||||
if (cl.size() == 1) {
|
||||
ObservableValue clkVal = cl.get(0).getClockOutput();
|
||||
clkVal.setBool(!clkVal.getBool());
|
||||
try {
|
||||
model.doStep();
|
||||
circuitComponent.repaintNeeded();
|
||||
} catch (NodeException | RuntimeException e) {
|
||||
showErrorAndStopModel(Lang.get("err_remoteExecution"), e);
|
||||
}
|
||||
circuitComponent.modelHasChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user