Restore checkboxes to show/hide columns

This commit is contained in:
Marek Marczykowski-Górecki 2021-02-24 03:59:02 +01:00
parent d253b50545
commit 1e36eb9d30
No known key found for this signature in database
GPG Key ID: 063938BA42CFA724

View File

@ -766,6 +766,7 @@ class VmManagerWindow(ui_qubemanager.Ui_VmManagerWindow, QMainWindow):
column = self.qubes_model.columns_indices[col_no] column = self.qubes_model.columns_indices[col_no]
action = self.menu_view.addAction(column) action = self.menu_view.addAction(column)
action.setData(column) action.setData(column)
action.setCheckable(True)
action.toggled.connect(partial(self.showhide_column, col_no)) action.toggled.connect(partial(self.showhide_column, col_no))
self.menu_view.addSeparator() self.menu_view.addSeparator()