Enable seamless mode buttons for Windows template-based qubes too

Fixes QubesOS/qubes-issues#4813
这个提交包含在:
Marek Marczykowski-Górecki 2019-02-12 22:23:38 +01:00
父节点 072e05e328
当前提交 52188318b8
找不到此签名对应的密钥
GPG 密钥 ID: 063938BA42CFA724

查看文件

@ -694,8 +694,9 @@ class VMSettingsWindow(ui_settingsdlg.Ui_SettingsDialog, QtGui.QDialog):
self.update_virt_mode_list()
windows_running = self.vm.features.get('os', None) == 'Windows' and \
self.vm.is_running()
windows_running = \
self.vm.features.check_with_template('os', None) == 'Windows' \
and self.vm.is_running()
self.seamless_on_button.setEnabled(windows_running)
self.seamless_off_button.setEnabled(windows_running)