Skip to content

Commit

Permalink
string id
Browse files Browse the repository at this point in the history
  • Loading branch information
samirg1 committed Sep 28, 2023
1 parent e88b218 commit 91b031c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/popups/OptionSelectPopup.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ def __init__(self, master: Misc | None, options: list[_T], callback: Callable[[_

tree = ttk.Treeview(self, show="tree")
for row, option in enumerate(options):
tree.insert("", tkinter.END, row, text=display(option), open=row == 0)
tree.insert("", tkinter.END, f"{row}", text=display(option), open=row == 0)

scrollbar = ttk.Scrollbar(self, orient=tkinter.VERTICAL, command=tree.yview) # type: ignore
tree.configure(yscroll=scrollbar.set) # type: ignore
Expand Down

0 comments on commit 91b031c

Please sign in to comment.