Pass extra arg just in case
All checks were successful
CI / test (push) Successful in 5m30s
Lint / test (push) Successful in 29s
Trivy / test (push) Successful in 22s

This commit is contained in:
Miguel Jacq 2025-11-25 16:27:46 +11:00
parent c0206bd626
commit 41227e181f
Signed by: mig5
GPG key ID: 59B3F0C24135C6A9

View file

@ -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,
) )