mirror of
https://github.com/virt-manager/virt-manager.git
synced 2025-02-04 17:47:19 +03:00
details: Ask to apply changes before powering on VMs
This commit is contained in:
parent
7f3ddf3818
commit
dcf57af699
@ -1414,6 +1414,8 @@ class vmmDetails(vmmGObjectUI):
|
||||
self.widget("details-menu-usb-redirection").set_sensitive(can_usb)
|
||||
|
||||
def control_vm_run(self, src_ignore):
|
||||
if self.has_unapplied_changes(self.get_hw_row()):
|
||||
return
|
||||
self.emit("action-run-domain",
|
||||
self.vm.conn.get_uri(), self.vm.get_connkey())
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user