Fix showing inactive VMs
Previously if Qubes Manager was started with inactive VMs hidden, toggling "show inactive VMs" option wasn't enough to show them. This is because we set RowHidden to False only when both show_inactive and show_internal are set. This commit fixes the issue.
This commit is contained in:
parent
3994038d76
commit
0f175b5c92
@ -1036,6 +1036,8 @@ class VmManagerWindow(Ui_VmManagerWindow, QMainWindow):
|
||||
internal = widget.vm.internal
|
||||
if not (show_inactive or running) or not (show_internal or not internal):
|
||||
self.table.setRowHidden(row_no, True)
|
||||
else:
|
||||
self.table.setRowHidden(row_no, False)
|
||||
row_no += 1
|
||||
|
||||
def mark_table_for_update(self):
|
||||
|
Loading…
Reference in New Issue
Block a user