added disable button decorator to board util

This commit is contained in:
UpstreamData
2022-03-17 16:01:02 -06:00
parent d488c8458c
commit fdec35cd2e
4 changed files with 33 additions and 1 deletions

View File

@@ -49,6 +49,8 @@ async def set_progress_bar_len(amount):
async def sort_data(index: int or str):
if window["scan"].Disabled:
return
await update_ui_with_data("status", "Sorting Data")
data_list = window['ip_table'].Values
table = window["ip_table"].Widget