mirror of
https://github.com/hneemann/Digital.git
synced 2025-09-26 22:41:59 -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 {
|
try {
|
||||||
AddressPicker addressPicker = new AddressPicker();
|
AddressPicker addressPicker = new AddressPicker();
|
||||||
SwingUtilities.invokeAndWait(() -> {
|
SwingUtilities.invokeAndWait(() -> {
|
||||||
if (model != null && model.isFastRunModel() && !realTimeClockRunning)
|
if (model != null && model.isFastRunModel() && !realTimeClockRunning) {
|
||||||
runToBreakAction.actionPerformed(null);
|
runToBreakAction.actionPerformed(null);
|
||||||
addressPicker.getProgramROMAddress(model);
|
addressPicker.getProgramROMAddress(model);
|
||||||
|
}
|
||||||
});
|
});
|
||||||
return addressPicker.getAddressString();
|
return addressPicker.getAddressString();
|
||||||
} catch (InterruptedException | InvocationTargetException e) {
|
} catch (InterruptedException | InvocationTargetException e) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user