Skip to content

Commit

Permalink
Set persistent cells in update table cells
Browse files Browse the repository at this point in the history
  • Loading branch information
andreas-el committed Dec 12, 2024
1 parent d875982 commit d27c2d1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/ert/gui/simulation/view/update.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ def __init__(self, data: DataSection, parent: QWidget | None = None):
self.setRowCount(len(data.data))
self.setHorizontalHeaderLabels(data.header)
self.setSelectionBehavior(QAbstractItemView.SelectionBehavior.SelectRows)
self.setEditTriggers(QAbstractItemView.NoEditTriggers)
horizontal_header = self.horizontalHeader()
assert horizontal_header is not None
horizontal_header.setSectionResizeMode(QHeaderView.ResizeToContents)
Expand Down

0 comments on commit d27c2d1

Please sign in to comment.