]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
Fix the following bug:
authorGuido van Rossum <guido@python.org>
Fri, 3 Jan 1997 23:39:26 +0000 (23:39 +0000)
committerGuido van Rossum <guido@python.org>
Fri, 3 Jan 1997 23:39:26 +0000 (23:39 +0000)
commit7fc0bf82477bb3fee0e2caaba6fa031866602cd6
treef91867dedd0606307284130c6bcdd86441ecbcbd
parentbf0c3ca9bd9c4c37845cc6a4d15aa884f8d74830
Fix the following bug:

- When dragging the mouse in either listbox, the *first* entry
clicked on is selected rather than the last (but the last one is
highlighted).

This is done by changing the bindtags so that our binding is executed
after the default binding (which sets the 'active' index to the last
item selected), and using 'active' instead of 'anchor' as the index to
ask for.
Lib/lib-tk/FileDialog.py
Lib/tkinter/FileDialog.py