Show all non halted vm's as running
This commit is contained in:
parent
60dbeabfb4
commit
6276373fff
@ -668,7 +668,7 @@ class QubesProxyModel(QSortFilterProxyModel):
|
|||||||
vm = self.sourceModel().data(index, Qt.UserRole)
|
vm = self.sourceModel().data(index, Qt.UserRole)
|
||||||
|
|
||||||
if self.window.show_running.isChecked() and \
|
if self.window.show_running.isChecked() and \
|
||||||
vm.state['power'] == 'Running':
|
vm.state['power'] != 'Halted':
|
||||||
return super().filterAcceptsRow(sourceRow, sourceParent)
|
return super().filterAcceptsRow(sourceRow, sourceParent)
|
||||||
if self.window.show_halted.isChecked() and \
|
if self.window.show_halted.isChecked() and \
|
||||||
vm.state['power'] == 'Halted':
|
vm.state['power'] == 'Halted':
|
||||||
|
Loading…
Reference in New Issue
Block a user