1
0
Fork 0
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:
Joe R 2022-09-26 22:34:01 -04:00
parent 8cef44437b
commit 18c3549f66

View file

@ -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: