mirror of
https://github.com/virt-manager/virt-manager.git
synced 2025-02-28 01:58:08 +03:00
vmwindow: Remove non-events XML refreshing on resource tick
This is an awkward place to put it, and I'm pretty sure it's not even useful in the non-events case nowadays due to improved libvirtobject.py infrastructure Signed-off-by: Cole Robinson <crobinso@redhat.com>
This commit is contained in:
parent
301577c2f6
commit
518f230f76
@ -568,17 +568,6 @@ class vmmVMWindow(vmmGObjectUI):
|
||||
details = self.widget("details-pages")
|
||||
page = details.get_current_page()
|
||||
|
||||
# If the dialog is visible, we want to make sure the XML is always
|
||||
# up to date
|
||||
try:
|
||||
if self.is_visible():
|
||||
self.vm.ensure_latest_xml()
|
||||
except Exception as e: # pragma: no cover
|
||||
if self.conn.support.is_libvirt_error_no_domain(e):
|
||||
self.close()
|
||||
return
|
||||
raise
|
||||
|
||||
if page == DETAILS_PAGE_DETAILS:
|
||||
self._details.vmwindow_resources_refreshed()
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user