Skip to content

Commit 4dc268c

Browse files
committed
ConfigurableColumnsHeader: No point in calling setSectionsMovable/Clickable
Those will be called anyway in TristateSortHeaderView.lock() called from TristateSortHeaderView.__init__()
1 parent 393e677 commit 4dc268c

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

picard/ui/itemviews/__init__.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -272,10 +272,6 @@ def __init__(self, parent=None):
272272
super().__init__(QtCore.Qt.Orientation.Horizontal, parent)
273273
self._visible_columns = set([ITEM_ICON_COLUMN])
274274

275-
# The following are settings applied to default headers
276-
# of QTreeView and QTreeWidget.
277-
self.setSectionsMovable(True)
278-
self.setSectionsClickable(False)
279275
self.sortIndicatorChanged.connect(self.on_sort_indicator_changed)
280276

281277
# enable sorting, but don't actually use it by default

0 commit comments

Comments
 (0)