mirror of
https://github.com/shlomif/PySolFC.git
synced 2025-04-05 00:02:29 -04:00
Fixed error in statistics sorting.
This commit is contained in:
parent
8cef44437b
commit
18c3549f66
1 changed files with 2 additions and 1 deletions
|
@ -480,7 +480,8 @@ class AllGamesFrame(ttk.Frame):
|
|||
|
||||
def fillTreeview(self, player):
|
||||
if self.tree_items:
|
||||
self.tree.delete(tuple(self.tree_items))
|
||||
for item in self.tree.get_children():
|
||||
self.tree.delete(item)
|
||||
self.tree_items = []
|
||||
self.formatter.writeStats(player, sort_by=self.sort_by)
|
||||
if self.dialog.buttons:
|
||||
|
|
Loading…
Add table
Reference in a new issue