Dot allow to run command in paused VM
This commit is contained in:
parent
de27483948
commit
ab5fca6e19
@ -1124,7 +1124,7 @@ class VmManagerWindow(Ui_VmManagerWindow, QMainWindow):
|
||||
self.action_updatevm.setEnabled(vm.is_updateable() or vm.qid == 0)
|
||||
self.action_toggle_audio_input.setEnabled(vm.last_running and vm.qid != 0 and \
|
||||
session_bus.name_has_owner('org.QubesOS.Audio.%s' % vm.name))
|
||||
self.action_run_command_in_vm.setEnabled(vm.qid != 0)
|
||||
self.action_run_command_in_vm.setEnabled(not vm.last_power_state == "Paused" and vm.qid != 0)
|
||||
self.action_set_keyboard_layout.setEnabled(vm.qid != 0 and vm.last_running)
|
||||
else:
|
||||
self.action_settings.setEnabled(False)
|
||||
|
Loading…
Reference in New Issue
Block a user