virtManager.clone: set new manual path before we populate storage list

Signed-off-by: Pavel Hrdina <phrdina@redhat.com>
This commit is contained in:
Pavel Hrdina 2017-03-06 09:28:49 +01:00 committed by Cole Robinson
parent 82eaf4742e
commit d93203022a

View File

@ -713,9 +713,9 @@ class vmmCloneVM(vmmGObjectUI):
try:
self.clone_design.clone_paths = new_path
self.populate_storage_lists()
row[STORAGE_INFO_NEW_PATH] = new_path
row[STORAGE_INFO_MANUAL_PATH] = True
self.populate_storage_lists()
except Exception, e:
self.err.show_err(_("Error changing storage path: %s") % str(e))
return