diff Lib/lib-tk/FileDialog.py @ 3642:d04975db52dc legacy-trunk

don't export selection
author Guido van Rossum <guido@python.org>
date Tue, 28 May 1996 23:10:30 +0000
parents 31c52a0a372c
children 0d1463a45b6f
line wrap: on
line diff
--- a/Lib/lib-tk/FileDialog.py	Tue May 28 23:10:02 1996 +0000
+++ b/Lib/lib-tk/FileDialog.py	Tue May 28 23:10:30 1996 +0000
@@ -48,11 +48,11 @@
 	self.filter.bind('<Return>', self.filter_command)
 	self.midframe = Frame(self.top)
 	self.midframe.pack(expand=YES, fill=BOTH)
-	self.dirs = Listbox(self.midframe)
+	self.dirs = Listbox(self.midframe, exportselection=0)
 	self.dirs.pack(side=LEFT, expand=YES, fill=BOTH)
 	self.dirs.bind('<ButtonRelease-1>', self.dirs_select_event)
 	self.dirs.bind('<Double-ButtonRelease-1>', self.dirs_double_event)
-	self.files = Listbox(self.midframe)
+	self.files = Listbox(self.midframe, exportselection=0)
 	self.files.pack(side=RIGHT, expand=YES, fill=BOTH)
 	self.files.bind('<ButtonRelease-1>', self.files_select_event)
 	self.files.bind('<Double-ButtonRelease-1>', self.files_double_event)