From ac8795db87692a2479acac9151b344cfb4c393ca Mon Sep 17 00:00:00 2001 From: tandemdude <43570299+tandemdude@users.noreply.github.com> Date: Thu, 14 Nov 2024 14:25:13 +0000 Subject: [PATCH] fix: attr error when using self.previous_row() --- lightbulb/components/base.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lightbulb/components/base.py b/lightbulb/components/base.py index 98c81d57..cf79bc32 100644 --- a/lightbulb/components/base.py +++ b/lightbulb/components/base.py @@ -287,7 +287,7 @@ def next_row(self) -> t_ex.Self: def previous_row(self) -> t_ex.Self: """Move the current row pointer back to the previous row.""" - self.__current_row = max(0, self.__current_row - 1) + self.__current_row = max(0, self._current_row - 1) return self def add(self, component: BaseComponentT) -> BaseComponentT: