From 1e36eb9d3041ba0854f7cf73a94f8ceb4794cff6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marek=20Marczykowski-G=C3=B3recki?= Date: Wed, 24 Feb 2021 03:59:02 +0100 Subject: [PATCH] Restore checkboxes to show/hide columns --- qubesmanager/qube_manager.py | 1 + 1 file changed, 1 insertion(+) diff --git a/qubesmanager/qube_manager.py b/qubesmanager/qube_manager.py index 659e543..e9e61df 100644 --- a/qubesmanager/qube_manager.py +++ b/qubesmanager/qube_manager.py @@ -766,6 +766,7 @@ class VmManagerWindow(ui_qubemanager.Ui_VmManagerWindow, QMainWindow): column = self.qubes_model.columns_indices[col_no] action = self.menu_view.addAction(column) action.setData(column) + action.setCheckable(True) action.toggled.connect(partial(self.showhide_column, col_no)) self.menu_view.addSeparator()