Skip to content

Commit

Permalink
[#18] Prevent screen windows from handling queued events that are not…
Browse files Browse the repository at this point in the history
… their own.
  • Loading branch information
kosarev committed Feb 20, 2021
1 parent f5a37fb commit 58149c3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion zx/_gui.py
Original file line number Diff line number Diff line change
Expand Up @@ -438,7 +438,7 @@ def _on_quantum_run(self, event, devices):
Gtk.main_iteration()

while self.__events:
devices.notify(self.__events.pop(0))
self.on_event(self.__events.pop(0), devices, None)

def __toggle_pause(self, devices):
devices.notify(ToggleEmulationPause())
Expand Down

0 comments on commit 58149c3

Please sign in to comment.