mirror of
https://gitlab.com/pamhyr/pamhyr2.git
synced 2026-10-30 03:20:41 +01:00
BC: Edit: Minor change.
This commit is contained in:
1 parent
1775bf2729
commit
31ca9bf70c
2 files changed
+11
-8
No files matched your search
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user