mirror of
https://github.com/hneemann/Digital.git
synced 2025-09-26 06:22:48 -04:00
fixed a bug which occurs if "run to break" is executed by the assembler
while model is not running.
This commit is contained in:
parent
9e2c8e8988
commit
c0cbabae6b
@ -1454,9 +1454,10 @@ public final class Main extends JFrame implements ClosingWindowListener.ConfirmS
|
||||
try {
|
||||
AddressPicker addressPicker = new AddressPicker();
|
||||
SwingUtilities.invokeAndWait(() -> {
|
||||
if (model != null && model.isFastRunModel() && !realTimeClockRunning)
|
||||
if (model != null && model.isFastRunModel() && !realTimeClockRunning) {
|
||||
runToBreakAction.actionPerformed(null);
|
||||
addressPicker.getProgramROMAddress(model);
|
||||
addressPicker.getProgramROMAddress(model);
|
||||
}
|
||||
});
|
||||
return addressPicker.getAddressString();
|
||||
} catch (InterruptedException | InvocationTargetException e) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user