Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion picard/ui/widgets/configurablecolumnsheader.py
Original file line number Diff line number Diff line change
Expand Up @@ -348,7 +348,7 @@ def restore_columns_state(self, state: dict[str, dict]):
QtWidgets.QHeaderView.ResizeMode.Fixed.value,
QtWidgets.QHeaderView.ResizeMode.Interactive.value,
}:
self.resizeSection(i, column_state.get('width', column.width or 100))
self.resizeSection(i, column_state.get('width', 0) or column.width or 100)

# Sort indicator uses logical index, independent of visual positioning
if 'sorted' in column_state:
Expand Down
Loading