Skip to content

Commit

Permalink
Enable seamless mode buttons for Windows template-based qubes too
Browse files Browse the repository at this point in the history
  • Loading branch information
marmarek committed Feb 12, 2019
1 parent 072e05e commit 5218831
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions qubesmanager/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -694,8 +694,9 @@ def __init_advanced_tab__(self):

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)
Expand Down

0 comments on commit 5218831

Please sign in to comment.