fix var name. Fixes #4430

This commit is contained in:
Yann Leboulanger 2008-10-24 12:10:05 +00:00
parent 8f9f2bf276
commit ee85e67da2
1 changed files with 1 additions and 1 deletions

View File

@ -1586,7 +1586,7 @@ class DubbleInputDialog:
def on_cancelbutton_clicked(self, widget): def on_cancelbutton_clicked(self, widget):
self.dialog.destroy() self.dialog.destroy()
if not cancel_handler: if not self.cancel_handler:
return return
if isinstance(self.cancel_handler, tuple): if isinstance(self.cancel_handler, tuple):
self.cancel_handler[0](*self.cancel_handler[1:]) self.cancel_handler[0](*self.cancel_handler[1:])