summaryrefslogtreecommitdiffstats
path: root/Tools/pynche/TextViewer.py
diff options
context:
space:
mode:
Diffstat (limited to 'Tools/pynche/TextViewer.py')
-rw-r--r--Tools/pynche/TextViewer.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/Tools/pynche/TextViewer.py b/Tools/pynche/TextViewer.py
index 15a67dd..316bd15 100644
--- a/Tools/pynche/TextViewer.py
+++ b/Tools/pynche/TextViewer.py
@@ -15,7 +15,6 @@ button and drag it through some text. The Insertion is the insertion cursor
in the text window (which only has a background).
"""
-import sys
from Tkinter import *
import ColorDB
@@ -89,7 +88,7 @@ textual displays.''')
self.__toggletrack()
def __quit(self, event=None):
- sys.exit(0)
+ self.__root.quit()
def __withdraw(self, event=None):
self.__root.withdraw()