settings: indentation fix

This commit is contained in:
Marek Marczykowski-Górecki 2013-10-29 13:41:46 +01:00
parent 56d7807fec
commit 8d38a948e5

View File

@ -427,10 +427,10 @@ class VMSettingsWindow(Ui_SettingsDialog, QDialog):
self.include_in_balancing.setEnabled(True)
self.include_in_balancing.setChecked(self.vm.services['meminfo-writer']==True)
self.max_mem_size.setEnabled(self.include_in_balancing.isChecked())
if self.vm.type == "HVM":
self.include_in_balancing.setChecked(False)
self.include_in_balancing.setEnabled(False)
self.max_mem_size.setEnabled(self.include_in_balancing.isChecked())
#paths
self.dir_path.setText(self.vm.dir_path)