diff options
author | Barry Warsaw <barry@python.org> | 1998-10-06 19:48:35 (GMT) |
---|---|---|
committer | Barry Warsaw <barry@python.org> | 1998-10-06 19:48:35 (GMT) |
commit | 45c8d3421693e709530c6e95c5ae7a4e82310a71 (patch) | |
tree | 44c45ec8bde83500794bb11cbf05cd232d1b15f1 /Tools/pynche/DetailsViewer.py | |
parent | d5bcf9a343b146a1b06731064c792615d97e45c1 (diff) | |
download | cpython-45c8d3421693e709530c6e95c5ae7a4e82310a71.zip cpython-45c8d3421693e709530c6e95c5ae7a4e82310a71.tar.gz cpython-45c8d3421693e709530c6e95c5ae7a4e82310a71.tar.bz2 |
Better quitting
Diffstat (limited to 'Tools/pynche/DetailsViewer.py')
-rw-r--r-- | Tools/pynche/DetailsViewer.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Tools/pynche/DetailsViewer.py b/Tools/pynche/DetailsViewer.py index 905bbba..b82e008 100644 --- a/Tools/pynche/DetailsViewer.py +++ b/Tools/pynche/DetailsViewer.py @@ -52,7 +52,6 @@ Shift + Left == -25 Shift + Right == +25 """ -import sys from Tkinter import * STOP = 'Stop' @@ -153,7 +152,7 @@ class DetailsViewer: self.__l2.configure(text=text) def __quit(self, event=None): - sys.exit(0) + self.__root.quit() def __withdraw(self, event=None): self.__root.withdraw() |