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")