Appletrain
Nov 27, 2019 - 21:41
link textI hope someone can help on this.
This works...
def alert_action(sender):
print('got here')
#print(dialogs.alert('Change to inactive', 'Are you sure?', 'Ok'))
input_frm['switch1'].action=alert_action
This doesn’t...
def alert_action(sender):
print('got here')
print(dialogs.alert('Change to inactive', 'Are you sure?', 'Ok'))
input_frm['switch1'].action=alert_action
and it locks up Pythonista
I just can’t see what’s wrong.