Changed blank kernelopts in VM settings from [] to -

as requested by @marmarek
This commit is contained in:
Marta Marczykowska-Górecka 2018-09-27 21:34:56 +02:00
parent bc15ef91ec
commit 4ff111eb81
No known key found for this signature in database
GPG Key ID: 9A752C30B26FD04B

View File

@ -648,7 +648,7 @@ class VMSettingsWindow(ui_settingsdlg.Ui_SettingsDialog, QtGui.QDialog):
None,
allow_default=True, allow_none=True)
self.kernel.currentIndexChanged.connect(self.kernel_changed)
self.kernel_opts.setText(getattr(self.vm, 'kernelopts', '[]'))
self.kernel_opts.setText(getattr(self.vm, 'kernelopts', '-'))
else:
self.kernel_groupbox.setVisible(False)