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
+3

No files matched your search

+2
View File
@@ -48,6 +48,8 @@ class ExtendedTimeEdit(AWidget):
days = 0
stime = time
# if ',' in time, time format is 'DD days, HH:MM:SS',
# otherelse is 'HH:MM:SS'
if "," in time:
s = time.strip().split(" ")
days = int(s[0])
@@ -69,6 +69,7 @@ class EditBoundaryConditionWindow(ASubMainWindow, ListedSubWindow):
undo = self._undo_stack
)
if self._data.header[0] == "time":
self._delegate_time = ExTimeDelegate(
data = self._data,
mode = "type",