Show console if SPICE enabled.

This commit is contained in:
Marc-André Lureau
2010-11-12 17:05:48 +01:00
parent 5e6cabc4b3
commit f2da834e1d
2 changed files with 2 additions and 2 deletions

View File

@@ -1601,7 +1601,7 @@ class vmmCreate(vmmGObjectUI):
if self.config.get_console_popup() == 1:
# user has requested console on new created vms only
gtype = vm.get_graphics_console()[0]
if gtype == "vnc":
if gtype in ["vnc", "spice"]:
self.emit("action-show-console", self.conn.get_uri(),
guest.uuid)
else: