Author: asterix Date: 2008-10-24 14:10:05 +0200 (Fri, 24 Oct 2008) New Revision: 10567
Modified: trunk/src/dialogs.py Log: fix var name. Fixes #4430
Modified: trunk/src/dialogs.py =================================================================== --- trunk/src/dialogs.py 2008-10-23 17:19:57 UTC (rev 10566) +++ trunk/src/dialogs.py 2008-10-24 12:10:05 UTC (rev 10567) @@ -1586,7 +1586,7 @@
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:])