Make sure we force a tick update if the domain XML config changes.

This commit is contained in:
Cole Robinson 2009-07-02 10:01:16 -04:00
parent b87d51cda5
commit 1bd9c50942

View File

@ -22,6 +22,7 @@ import gobject
import libvirt
import os
import logging
import time
from virtManager import util
import virtinst.util as vutil
@ -97,6 +98,8 @@ class vmmDomain(gobject.GObject):
self._valid_xml = True
if origxml != self._xml:
# 'tick' to make sure we have the latest time
self.tick(time.time())
self.emit("config-changed")
def invalidate_xml(self):