Fix window ref counting bug when deleting a vm.

This commit is contained in:
Cole Robinson
2008-08-18 11:47:29 -04:00
parent 0d7c42d802
commit 5a7d895d4b

View File

@@ -461,6 +461,9 @@ class vmmDetails(gobject.GObject):
if fs.get_active():
fs.set_active(False)
if not self.is_visible():
return
self.window.get_widget("vmm-details").hide()
if self.vncViewer.flags() & gtk.VISIBLE:
try: