mirror of
https://github.com/hneemann/Digital.git
synced 2025-09-27 23:18:02 -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) {
|
if (cl.size() == 1) {
|
||||||
ObservableValue clkVal = cl.get(0).getClockOutput();
|
ObservableValue clkVal = cl.get(0).getClockOutput();
|
||||||
clkVal.setBool(!clkVal.getBool());
|
clkVal.setBool(!clkVal.getBool());
|
||||||
try {
|
circuitComponent.modelHasChanged();
|
||||||
model.doStep();
|
|
||||||
circuitComponent.repaintNeeded();
|
|
||||||
} catch (NodeException | RuntimeException e) {
|
|
||||||
showErrorAndStopModel(Lang.get("err_remoteExecution"), e);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user