Fixed kernelopts in VM settings

For some reason, they were not being displayed at all. Now fixed.

fixes QubesOS/qubes-issues#4188
This commit is contained in:
Marta Marczykowska-Górecka 2018-09-21 14:09:07 +02:00
parent 8d73952404
commit bc15ef91ec
No known key found for this signature in database
GPG Key ID: 9A752C30B26FD04B
2 changed files with 2 additions and 0 deletions

View File

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

View File

@ -483,6 +483,7 @@ border-width: 1px;</string>
<property name="font"> <property name="font">
<font> <font>
<weight>50</weight> <weight>50</weight>
<italic>true</italic>
<bold>false</bold> <bold>false</bold>
</font> </font>
</property> </property>