diff --git a/examples/get_started/lv_example_get_started_2.py b/examples/get_started/lv_example_get_started_2.py index b608dd8b5..7d3cefe32 100644 --- a/examples/get_started/lv_example_get_started_2.py +++ b/examples/get_started/lv_example_get_started_2.py @@ -20,9 +20,9 @@ class CounterBtn(): if code == lv.EVENT.CLICKED: self.cnt += 1 - # Get the first child of the button which is the label and change its text - label = btn.get_child(0) - label.set_text("Button: " + str(self.cnt)) + # Get the first child of the button which is the label and change its text + label = btn.get_child(0) + label.set_text("Button: " + str(self.cnt)) counterBtn = CounterBtn()