Skip to content
Snippets Groups Projects
Commit 8e0537e2 authored by Johannes Kung's avatar Johannes Kung
Browse files

Fix bug where program crashes after undoing too many asm instructions

parent c699e514
No related branches found
No related tags found
1 merge request!44Fixed flags
Pipeline #133204 failed
...@@ -310,7 +310,7 @@ class ProcessorHandler(QObject): ...@@ -310,7 +310,7 @@ class ProcessorHandler(QObject):
self._processor.undo_asm_instruction(instructions) self._processor.undo_asm_instruction(instructions)
self._signal_processor_changed() self._signal_processor_changed()
except (ValueError, IndexError): except (ValueError, IndexError):
self._error_msg_box("Unable to undo the instruction.") self._error_msg_box.showMessage("Unable to undo the instruction.")
@Slot() @Slot()
def toggle_value_update_on_run(self): def toggle_value_update_on_run(self):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment