diff --git a/Mac/Lib/lib-toolbox/MiniAEFrame.py b/Mac/Lib/lib-toolbox/MiniAEFrame.py index 6c2d5e84a3f..e57d78e4b71 100644 --- a/Mac/Lib/lib-toolbox/MiniAEFrame.py +++ b/Mac/Lib/lib-toolbox/MiniAEFrame.py @@ -82,6 +82,7 @@ def lowlevelhandler(self, event): raise KeyboardInterrupt, "Command-period" if c == 'q': self.quitting = 1 + return elif what == mouseDown: partcode, window = Win.FindWindow(where) if partcode == inMenuBar: @@ -97,9 +98,9 @@ def lowlevelhandler(self, event): elif id == self.quitid and item == 1: self.quitting = 1 Menu.HiliteMenu(0) - else: - # Anything not handled is passed to Python/SIOUX - MacOS.HandleEvent(event) + return + # Anything not handled is passed to Python/SIOUX + MacOS.HandleEvent(event) def getabouttext(self): return self.__class__.__name__