Skip to content

Commit

Permalink
[JSONGEN] added selected notification of workers
Browse files Browse the repository at this point in the history
  • Loading branch information
leondavi committed Jul 14, 2023
1 parent 2f7707e commit 5ba57bc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src_py/nerlPlanner/Handlers.py
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ def workers_handler(window, event, values):

if event == KEY_WORKERS_LIST_BOX:
worker_name_selection = values[KEY_WORKERS_LIST_BOX][0]
print(f"List box {worker_name_selection}")
window[KEY_WORKERS_INFO_BAR].update(f'{worker_name_selection} is selected')

if event == KEY_WORKERS_LOAD_FROM_LIST_WORKER_BUTTON:
if (worker_name_selection in workers_dict) and workers_new_worker_name:
Expand All @@ -130,7 +130,7 @@ def workers_handler(window, event, values):
def devices_handler(window, event, values):
device_name = values[KEY_DEVICES_NAME_INPUT]
device_ip = values[KEY_DEVICES_IP_INPUT]



def update_current_json_file_path(jsonPath):
Expand Down

0 comments on commit 5ba57bc

Please sign in to comment.