From 0f175b5c9257047ec6185c20ef5fa4885972c1ed Mon Sep 17 00:00:00 2001 From: Marek Marczykowski Date: Sat, 13 Apr 2013 04:13:34 +0200 Subject: [PATCH] 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. --- qubesmanager/main.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/qubesmanager/main.py b/qubesmanager/main.py index 11a61d7..093038d 100755 --- a/qubesmanager/main.py +++ b/qubesmanager/main.py @@ -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):