snapshots: Fix showing async dialogs for revert/delete

This commit is contained in:
Cole Robinson
2013-10-05 10:03:56 -04:00
parent 7c3c70d3d0
commit 97f5717ef7
4 changed files with 18 additions and 13 deletions

View File

@@ -1033,8 +1033,8 @@ class vmmEngine(vmmGObject):
# VM will be restored, which can take some time, so show progress
title = _("Restoring Virtual Machine")
text = _("Restoring virtual machine memory from disk")
vmmAsyncJob.simple_async(vm.startup,
[], title, text, src, "", errorcb=errorcb)
vmmAsyncJob.simple_async(vm.startup, [], src,
title, text, "", errorcb=errorcb)
else:
# Regular startup