Modified for appearance.
This commit is contained in:
parent
b9247d37ba
commit
c9b1e90cc8
|
@ -135,8 +135,8 @@ def handle_dialog(filename):
|
||||||
continue
|
continue
|
||||||
if n < len(results):
|
if n < len(results):
|
||||||
results[n] = (not results[n])
|
results[n] = (not results[n])
|
||||||
tp, h, rect = d.GetDialogItem(n)
|
ctl = d.GetDialogItemAsControl(n)
|
||||||
h.as_Control().SetControlValue(results[n])
|
ctl.SetControlValue(results[n])
|
||||||
rv = []
|
rv = []
|
||||||
for i in range(len(results)):
|
for i in range(len(results)):
|
||||||
if results[i]:
|
if results[i]:
|
||||||
|
|
Loading…
Reference in New Issue