Fix: EntscheidungsDialog für Python3 angepasst
This commit is contained in:
parent
555cf013ae
commit
f9d200a7d6
1 changed files with 1 additions and 1 deletions
|
@ -137,7 +137,7 @@ class EntscheidungsDialog(Dialog):
|
||||||
androide.dialogSetNegativeButtonText(self.text2)
|
androide.dialogSetNegativeButtonText(self.text2)
|
||||||
androide.dialogShow()
|
androide.dialogShow()
|
||||||
tmpErg = androide.dialogGetResponse().result
|
tmpErg = androide.dialogGetResponse().result
|
||||||
if tmpErg.has_key('which'):
|
if 'which' in tmpErg:
|
||||||
if tmpErg['which'] == 'positive':
|
if tmpErg['which'] == 'positive':
|
||||||
self.ergebnis=1
|
self.ergebnis=1
|
||||||
elif tmpErg['which'] == 'negative':
|
elif tmpErg['which'] == 'negative':
|
||||||
|
|
Loading…
Reference in a new issue