Skip to content

Commit

Permalink
bugfix: better handling mixed touch and button usage on category sett…
Browse files Browse the repository at this point in the history
…ings
  • Loading branch information
odudex committed Aug 16, 2024
1 parent 759eb9b commit af4b621
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/krux/pages/settings_page.py
Original file line number Diff line number Diff line change
Expand Up @@ -318,7 +318,7 @@ def category_setting(self, settings_namespace, setting):
btn = self._touch_to_physical(self.ctx.input.touch.current_index())
if btn == BUTTON_ENTER:
break
new_category = None
new_category = current_category
for i, category in enumerate(categories):
if current_category == category:
if btn in (BUTTON_PAGE, None):
Expand Down

0 comments on commit af4b621

Please sign in to comment.