BC: Edit: Minor change.

This commit is contained in:
Pierre-Antoine Rouby committed 2023-05-11 14:21:30 +02:00
1 parent 1775bf2729
commit 31ca9bf70c
2 files changed
+11 -8

No files matched your search

+9 -8
View File
@@ -69,15 +69,16 @@ class EditBoundaryConditionWindow(ASubMainWindow, ListedSubWindow):
undo = self._undo_stack
)
self._delegate_time = ExTimeDelegate(
data = self._data,
mode = "type",
parent=self
)
if self._data.header[0] == "time":
self._delegate_time = ExTimeDelegate(
data = self._data,
mode = "type",
parent=self
)
table.setItemDelegateForColumn(
0, self._delegate_time
)
table.setItemDelegateForColumn(
0, self._delegate_time
)
table.setModel(self._table)
table.setSelectionBehavior(QAbstractItemView.SelectRows)