diff --git a/zx/_gui.py b/zx/_gui.py index 8303da1..4f86187 100644 --- a/zx/_gui.py +++ b/zx/_gui.py @@ -201,7 +201,7 @@ def __init__(self, emulator): 'F1': self._show_help, 'F2': self._save_snapshot, 'F3': self._choose_and_load_file, - 'F6': self.xmachine._toggle_tape_pause, + 'F6': self.__toggle_tape_pause, 'F11': self._toggle_fullscreen, 'PAUSE': self.__toggle_pause, } @@ -438,5 +438,8 @@ def _on_quantum_run(self, event): def __toggle_pause(self): self.xmachine.paused ^= True + def __toggle_tape_pause(self): + self.xmachine._toggle_tape_pause() + def destroy(self): self._window.destroy()