Skip to content

Commit

Permalink
fix set_keyboar_layout test fail
Browse files Browse the repository at this point in the history
  • Loading branch information
donob4n committed Jul 22, 2020
1 parent 1dba52e commit 61d7a6d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions qubesmanager/qube_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -929,10 +929,12 @@ def table_selection_changed(self):
self.action_restartvm.setEnabled(False)
self.action_open_console.setEnabled(False)
elif vm.state['power'] == 'Suspend':
self.action_set_keyboard_layout.setEnabled(False)
self.action_removevm.setEnabled(False)
self.action_pausevm.setEnabled(False)
self.action_open_console.setEnabled(False)
elif vm.state['power'] == 'Halted':
self.action_set_keyboard_layout.setEnabled(False)
self.action_pausevm.setEnabled(False)
self.action_shutdownvm.setEnabled(False)
self.action_restartvm.setEnabled(False)
Expand Down

0 comments on commit 61d7a6d

Please sign in to comment.