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:
والد
3994038d76
کامیت
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):
|
||||
|
||||
بارگذاری…
مرجع در شماره جدید
Block a user