From ee85e67da2c3c489c0298e376633f812b00c4faa Mon Sep 17 00:00:00 2001 From: Yann Leboulanger Date: Fri, 24 Oct 2008 12:10:05 +0000 Subject: [PATCH] fix var name. Fixes #4430 --- src/dialogs.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/dialogs.py b/src/dialogs.py index a50983b6b..36f8245ad 100644 --- a/src/dialogs.py +++ b/src/dialogs.py @@ -1586,7 +1586,7 @@ class DubbleInputDialog: def on_cancelbutton_clicked(self, widget): self.dialog.destroy() - if not cancel_handler: + if not self.cancel_handler: return if isinstance(self.cancel_handler, tuple): self.cancel_handler[0](*self.cancel_handler[1:])