diff --git a/Tools/pynche/ListViewer.py b/Tools/pynche/ListViewer.py index d8ab85f6012..45a3ac563ed 100644 --- a/Tools/pynche/ListViewer.py +++ b/Tools/pynche/ListViewer.py @@ -25,12 +25,15 @@ class ListViewer: self.__sb = switchboard self.__lastbox = None self.__dontcenter = 0 + # GUI root = self.__root = Toplevel(parent, class_='Pynche') root.protocol('WM_DELETE_WINDOW', self.__withdraw) root.title('Pynche %s' % __version__) root.iconname('Pynche Color List') root.bind('', self.__quit) root.bind('', self.__quit) + root.bind('', self.__withdraw) + root.bind('', self.__withdraw) # # create the canvas which holds everything, and its scrollbar # diff --git a/Tools/pynche/TextViewer.py b/Tools/pynche/TextViewer.py index 9e77a021d8c..0479d8c8dce 100644 --- a/Tools/pynche/TextViewer.py +++ b/Tools/pynche/TextViewer.py @@ -29,6 +29,8 @@ class TextViewer: root.iconname('Pynche Text Window') root.bind('', self.__quit) root.bind('', self.__quit) + root.bind('', self.__withdraw) + root.bind('', self.__withdraw) # # create the text widget #