Fix regression introduced in #9256.
This commit is contained in:
parent
d7dd4c6396
commit
40da75e119
|
@ -1237,7 +1237,7 @@ class YesNoDialog(HigDialog):
|
||||||
if isinstance(self.user_response_yes, tuple):
|
if isinstance(self.user_response_yes, tuple):
|
||||||
self.user_response_yes[0](*self.user_response_yes[1:])
|
self.user_response_yes[0](*self.user_response_yes[1:])
|
||||||
else:
|
else:
|
||||||
self.user_response_yes(self.is_checked())
|
self.user_response_yes()
|
||||||
self.destroy()
|
self.destroy()
|
||||||
|
|
||||||
def on_response_no(self, widget):
|
def on_response_no(self, widget):
|
||||||
|
|
Loading…
Reference in New Issue