Message260469
Id's with spaces in them causes a crash when using the .selection* methods Treeview. Version of ttk.py "0.3.1" dated 12/6/2015. Traceback line numbers are 1415 then 1395
Either of these lines of code, where the item id is "2009 Report.pdf" crash
allParents = oTree.get_children()
for id in allParents:
oTree.selection_add(id)
# oTree.selection_toggle(id)
These two lines of workaround code do work however.
oTree.selection_add('"' + id + '"')
# oTree.selection_toggle('"' + id + '"')
Note that so far all other places in dealing with the item id's have no issue when there are spaces in them. |
|
Date |
User |
Action |
Args |
2016-02-18 16:30:08 | gbarnabic | set | recipients:
+ gbarnabic |
2016-02-18 16:30:08 | gbarnabic | set | messageid: <1455813008.22.0.795281140329.issue26386@psf.upfronthosting.co.za> |
2016-02-18 16:30:08 | gbarnabic | link | issue26386 messages |
2016-02-18 16:30:07 | gbarnabic | create | |
|