Enable seamless mode buttons for Windows template-based qubes too
Fixes QubesOS/qubes-issues#4813
This commit is contained in:
parent
072e05e328
commit
52188318b8
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user