diff --git a/IsegHVController.py b/IsegHVController.py index 15c0037..aaf0ee9 100755 --- a/IsegHVController.py +++ b/IsegHVController.py @@ -102,11 +102,11 @@ layout.append([sg.Combo(comboList, default_value = comboList[0], size = 20, enab window = sg.Window('Iseg HV Control & Monitor', layout, finalize = True, keep_on_top = True) -#for i in range(0, nChannel): -# window[("v%d" % chList[i])].bind("", "_Enter") -# window[("i%d" % chList[i])].bind("", "_Enter") -# window[("v%d" % chList[i])].bind("", "_Enter") -# window[("i%d" % chList[i])].bind("", "_Enter") +for i in range(0, nChannel): + window[("v%d" % chList[i])].bind("", "_Enter") + window[("i%d" % chList[i])].bind("", "_Enter") + window[("v%d" % chList[i])].bind("", "_Enter") + window[("i%d" % chList[i])].bind("", "_Enter") # Event Loop to process "events" and get the "values" of the inputs while True: