add destroy function to CommonInputDialog class. Fixes #7092

This commit is contained in:
Yann Leboulanger 2012-02-05 21:30:54 +01:00
parent d0388c2fc5
commit 5bdd9da51d
1 changed files with 3 additions and 0 deletions

View File

@ -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