From d2f351327fc3ba9f50a9079a3d66d02e7b4118a6 Mon Sep 17 00:00:00 2001 From: nojhan Date: Mon, 31 Jul 2023 17:40:39 +0200 Subject: [PATCH] fix typo --- .klyban.csv | 1 + klyban.py | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.klyban.csv b/.klyban.csv index b2ee406..da2c889 100644 --- a/.klyban.csv +++ b/.klyban.csv @@ -14,3 +14,4 @@ 14,"DONE","highlight last action","Use a virtual hint column to point to the last touched task.","feat,UX","","2023-07-30T10:20:36.795048" 15,"TODO","hide old done tasks","Hide tasks with last status that haven't been touched since a long time.","feat","","2023-07-30T10:16:39.517669" 16,"TODO","sort by priority","Add a priority column and a sorting option.","feat","","2023-07-31T09:19:16.258603" +17,"TODO","fix layout filtering","When changing themes, the layout filtering hack in Horizontal* does not work anymore.","bug","","2023-07-31T17:40:15.708249" diff --git a/klyban.py b/klyban.py index a3c30fd..ac68866 100644 --- a/klyban.py +++ b/klyban.py @@ -316,7 +316,7 @@ class Vertical(Layout): sections = [] if self.context.obj['highlight'] is not None: - df.loc[self.context.obj['highlight'], 'H'] = self.contex.obj['highlight_mark'] + df.loc[self.context.obj['highlight'], 'H'] = self.context.obj['highlight_mark'] # Group by status. tables = df.groupby(self.context.obj['status_key']) @@ -487,7 +487,7 @@ class HorizontalSpaced(Horizontal): sections = [] if self.context.obj['highlight'] is not None: - df.loc[self.context.obj['highlight'], 'H'] = self.contex.obj['highlight_mark'] + df.loc[self.context.obj['highlight'], 'H'] = self.context.obj['highlight_mark'] # Group by status. tables = df.groupby(self.context.obj['status_key'])