From 60253470f4504700e8794372ca207522681f2dbf Mon Sep 17 00:00:00 2001 From: Diego Garcia Gangl Date: Wed, 14 Aug 2024 19:50:26 -0300 Subject: [PATCH] Avoid calling a private property in parent --- GTG/core/tasks.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/GTG/core/tasks.py b/GTG/core/tasks.py index 60fad3d7c..1167bbca1 100644 --- a/GTG/core/tasks.py +++ b/GTG/core/tasks.py @@ -564,7 +564,7 @@ def is_recurring(self) -> bool: @GObject.Property(type=bool, default=False) def has_date_due(self) -> bool: if not self._has_date_due and self.parent: - return self.parent._has_date_due + return self.parent.has_date_due else: return self._has_date_due