From 8650e59af3ecc0d77615f1f4fd2a8b78db6232d0 Mon Sep 17 00:00:00 2001 From: Louie S Date: Sat, 16 Sep 2023 09:36:14 -0400 Subject: fix alt_due_date not drawing --- src/entry.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/entry.py b/src/entry.py index addc96a..2a50cfd 100644 --- a/src/entry.py +++ b/src/entry.py @@ -1,4 +1,4 @@ -from datetime import date, datetime +from datetime import date from PyQt5.QtCore import Qt from PyQt5.QtGui import QFont from PyQt5.QtWidgets import QHBoxLayout, QLabel @@ -45,6 +45,10 @@ class Entry: self.due.day(), self.due.year() )) + elif self.due_alt: + body.setText("{0}: ".format( + self.due_alt + )) if self.link: body.setOpenExternalLinks(True) body.setText(body.text() + "".format( -- cgit