Fixed kernelopts in VM settings

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

fixes QubesOS/qubes-issues#4188
Este commit está contenido en:
Marta Marczykowska-Górecka 2018-09-21 14:09:07 +02:00
padre 8d73952404
commit bc15ef91ec
No se encontró ninguna clave conocida en la base de datos para esta firma
ID de clave GPG: 9A752C30B26FD04B
Se han modificado 2 ficheros con 2 adiciones y 0 borrados

Ver fichero

@ -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)

Ver fichero

@ -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>