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 <crobinso@redhat.com>
This commit is contained in:
Cole Robinson 2022-08-01 09:44:48 -04:00
parent 6287760ed0
commit e7c936f16e

View File

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