summaryrefslogtreecommitdiffstats
path: root/Lib/lib-tk/FileDialog.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/lib-tk/FileDialog.py')
-rw-r--r--Lib/lib-tk/FileDialog.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/lib-tk/FileDialog.py b/Lib/lib-tk/FileDialog.py
index a2e56ea..4bb74b7 100644
--- a/Lib/lib-tk/FileDialog.py
+++ b/Lib/lib-tk/FileDialog.py
@@ -48,11 +48,11 @@ class FileDialog:
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)