Skip to content

Commit

Permalink
Sorting alias_list
Browse files Browse the repository at this point in the history
  • Loading branch information
JamesB-Blur authored and MHendricks committed Sep 26, 2023
1 parent ccb30cd commit 600ed10
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions hab_gui/widgets/alias_button_grid.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,8 @@ def refresh(self):
cfg = self.resolver.resolve(self.uri)
with hab.utils.verbosity_filter(self.resolver, self.verbosity):
alias_list = list(cfg.aliases.keys())
# So buttons show up in alphabetical order
alias_list.sort()
button_coords = utils.make_button_coords(
alias_list, self.button_wrap_length, self.button_layout
)
Expand Down

0 comments on commit 600ed10

Please sign in to comment.