From c78d7f67599080714f648732ca4595b6dcc4fe3b Mon Sep 17 00:00:00 2001 From: Doug Blank Date: Fri, 11 Dec 2009 13:04:50 +0000 Subject: [PATCH] RuntimeWarning: missing handler 'on_delete_event' svn: r13760 --- src/PluginUtils/_PluginDialogs.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/PluginUtils/_PluginDialogs.py b/src/PluginUtils/_PluginDialogs.py index 468aa95c6..65d6c5ecc 100644 --- a/src/PluginUtils/_PluginDialogs.py +++ b/src/PluginUtils/_PluginDialogs.py @@ -90,6 +90,7 @@ class PluginDialog(ManagedWindow.ManagedWindow): self.dialog.connect_signals({ "on_report_apply_clicked" : self.on_apply_clicked, "destroy_passed_object" : self.close, + "on_delete_event": self.close, }) self.tree = self.dialog.get_object("tree")