From d27c2d18f15f4e37d36d6da35d0ef8c963807541 Mon Sep 17 00:00:00 2001 From: Andreas Eknes Lie Date: Thu, 12 Dec 2024 12:23:15 +0100 Subject: [PATCH] Set persistent cells in update table cells --- src/ert/gui/simulation/view/update.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/ert/gui/simulation/view/update.py b/src/ert/gui/simulation/view/update.py index 7f3716fa4b4..1fe262cafad 100644 --- a/src/ert/gui/simulation/view/update.py +++ b/src/ert/gui/simulation/view/update.py @@ -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)