Kaydet (Commit) 51b708ab authored tarafından Guido van Rossum's avatar Guido van Rossum

don't export selection

üst 5feb54c4
......@@ -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)
......
......@@ -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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment