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:
Cole Robinson 2020-09-20 22:22:45 -04:00
parent 301577c2f6
commit 518f230f76

View File

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