From e7c936f16e5716614406b2c523dae2c09ed58a92 Mon Sep 17 00:00:00 2001 From: Cole Robinson Date: Mon, 1 Aug 2022 09:44:48 -0400 Subject: [PATCH] vmwindow: Customize window should not be 'deletable' This forces the user to use the 'Cancel' button, which gives a warning about the install being aborted Resolves: https://github.com/virt-manager/virt-manager/issues/416 Signed-off-by: Cole Robinson --- virtManager/vmwindow.py | 1 + 1 file changed, 1 insertion(+) diff --git a/virtManager/vmwindow.py b/virtManager/vmwindow.py index 7783ead4e..3ac4a6a4e 100644 --- a/virtManager/vmwindow.py +++ b/virtManager/vmwindow.py @@ -56,6 +56,7 @@ class vmmVMWindow(vmmGObjectUI): self.is_customize_dialog = True self.topwin.set_type_hint(Gdk.WindowTypeHint.DIALOG) self.topwin.set_transient_for(parent) + self.topwin.set_deletable(False) self.widget("toolbar-box").show() self.widget("customize-toolbar").show()