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: