Skip to content

Commit

Permalink
Make Table be sorted
Browse files Browse the repository at this point in the history
  • Loading branch information
CMDR-WDX committed May 16, 2022
1 parent 4602669 commit 4482957
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion classes/ui.py
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ def __display_warning(frame: tk.Frame, warning: str, width: int, row: int):
def _display_data(frame: tk.Frame, data: MassacreMissionData, settings: GridUiSettings) -> int:
__display_data_header(frame, settings)
row_pointer = 1
for faction in data.faction_to_count_lookup.keys():
for faction in sorted(data.faction_to_count_lookup.keys()):
__display_row(frame, faction, data.faction_to_count_lookup[faction], data.stack_height, settings, row_pointer,
data.before_stack_height)
row_pointer += 1
Expand Down
2 changes: 1 addition & 1 deletion version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2.0.0
2.0.1

0 comments on commit 4482957

Please sign in to comment.