summaryrefslogtreecommitdiff
path: root/src/dialogs/ProgressDialog.vala
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff.email>2024-11-11 12:28:23 +0100
committerJörg Frings-Fürst <debian@jff.email>2024-11-11 12:28:23 +0100
commit483b2e960f24c370d9e0260ab4ba8b3453408590 (patch)
treeec5e83ac39e4e5cec0ab9494da2d0edaafe72d89 /src/dialogs/ProgressDialog.vala
parent1bbf886bafc680c56ddd5e27ddd803b4e03685df (diff)
parentcb001bb8056869f98e9a62248bdd509a69d08faf (diff)
Merge branch 'feature/upstrem' into develop
Diffstat (limited to 'src/dialogs/ProgressDialog.vala')
-rw-r--r--src/dialogs/ProgressDialog.vala2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/dialogs/ProgressDialog.vala b/src/dialogs/ProgressDialog.vala
index 9368764..9d28551 100644
--- a/src/dialogs/ProgressDialog.vala
+++ b/src/dialogs/ProgressDialog.vala
@@ -37,6 +37,8 @@ public class ProgressDialog : Gtk.Window {
cancel_button = new Gtk.Button.with_mnemonic(Resources.CANCEL_LABEL);
cancel_button.clicked.connect(on_cancel);
delete_event.connect(on_window_closed);
+ } else {
+ delete_event.connect(hide_on_delete);
}
Gtk.Box hbox = new Gtk.Box(Gtk.Orientation.HORIZONTAL, 8);