added new text buttons to show total hashrate and current sort key

This commit is contained in:
UpstreamData
2022-05-09 10:24:48 -06:00
parent 1f8d92f6bb
commit 666c5bfc64
3 changed files with 97 additions and 15 deletions

View File

@@ -55,12 +55,11 @@ async def ui():
sys.exit()
if isinstance(event, tuple):
if len(window["scan_table"].Values) > 0:
if event[0].endswith("_table"):
if event[2][0] == -1:
mgr = TableManager()
table = window[event[0]].Widget
mgr.update_sort_key(table.heading(event[2][1])["text"])
if event[0].endswith("_table"):
if event[2][0] == -1:
mgr = TableManager()
table = window[event[0]].Widget
mgr.update_sort_key(table.heading(event[2][1])["text"])
# scan tab