Commit aa23bf45 authored by Jack Jansen's avatar Jack Jansen

Modified for appearance.

parent d4df53f0
......@@ -135,8 +135,8 @@ def handle_dialog(filename):
continue
if n < len(results):
results[n] = (not results[n])
tp, h, rect = d.GetDialogItem(n)
h.as_Control().SetControlValue(results[n])
ctl = d.GetDialogItemAsControl(n)
ctl.SetControlValue(results[n])
rv = []
for i in range(len(results)):
if results[i]:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment