From 5bdd9da51db4b6e65b4bec5cf4c56eaba5435a37 Mon Sep 17 00:00:00 2001 From: Yann Leboulanger Date: Sun, 5 Feb 2012 21:30:54 +0100 Subject: [PATCH] add destroy function to CommonInputDialog class. Fixes #7092 --- src/dialogs.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/dialogs.py b/src/dialogs.py index c8014a78f..4128c699a 100644 --- a/src/dialogs.py +++ b/src/dialogs.py @@ -1937,6 +1937,9 @@ class CommonInputDialog: def on_cancelbutton_clicked(self, widget): self.dialog.destroy() + def destroy(self): + self.dialog.destroy() + class InputDialog(CommonInputDialog): """ Class for Input dialog