Restore checkboxes to show/hide columns
This commit is contained in:
parent
d253b50545
commit
1e36eb9d30
@ -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()
|
||||||
|
Loading…
Reference in New Issue
Block a user