Fix audio-input status handling

This commit is contained in:
Marek Marczykowski 2012-11-09 21:01:38 +01:00
parent 8c2cd89ffa
commit 0d2a5d059a

View File

@ -996,6 +996,7 @@ class VmManagerWindow(Ui_VmManagerWindow, QMainWindow):
self.clear_error(vm.qid) self.clear_error(vm.qid)
elif prev_running and not vm.last_running: elif prev_running and not vm.last_running:
# FIXME: remove when recAllowed state will be preserved # FIXME: remove when recAllowed state will be preserved
if self.vm_rec.has_key(vm.name):
self.vm_rec.pop(vm.name) self.vm_rec.pop(vm.name)
self.running_vms_count -= 1 self.running_vms_count -= 1
some_vms_have_changed_power_state = True some_vms_have_changed_power_state = True