settings: print root_img path for StandaloneVMs

This commit is contained in:
Marek Marczykowski 2012-04-24 19:14:12 +02:00
parent e97c2f89bd
commit 1e8f4b1569

View File

@ -366,6 +366,8 @@ class VMSettingsWindow(Ui_SettingsDialog, QDialog):
self.config_path.setText(self.vm.conf_file)
if self.vm.template is not None:
self.root_img_path.setText(self.vm.template.root_img)
elif self.vm.root_img is not None:
self.root_img_path.setText(self.vm.root_img)
else:
self.root_img_path.setText("n/a")
if self.vm.volatile_img is not None: