Pass extra arg just in case
This commit is contained in:
parent
c0206bd626
commit
41227e181f
1 changed files with 2 additions and 0 deletions
|
|
@ -155,6 +155,7 @@ class ReminderDialog(QDialog):
|
||||||
|
|
||||||
date_iso = None
|
date_iso = None
|
||||||
if reminder_type == ReminderType.ONCE:
|
if reminder_type == ReminderType.ONCE:
|
||||||
|
# Right now this just means "today at the chosen time".
|
||||||
date_iso = QDate.currentDate().toString("yyyy-MM-dd")
|
date_iso = QDate.currentDate().toString("yyyy-MM-dd")
|
||||||
|
|
||||||
return Reminder(
|
return Reminder(
|
||||||
|
|
@ -163,6 +164,7 @@ class ReminderDialog(QDialog):
|
||||||
time_str=time_str,
|
time_str=time_str,
|
||||||
reminder_type=reminder_type,
|
reminder_type=reminder_type,
|
||||||
weekday=weekday,
|
weekday=weekday,
|
||||||
|
active=self._reminder.active if self._reminder else True,
|
||||||
date_iso=date_iso,
|
date_iso=date_iso,
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue