Skip to content

Commit

Permalink
voctogui.lib.presetcontroller: log readable name
Browse files Browse the repository at this point in the history
  • Loading branch information
Kunsi committed Nov 23, 2024
1 parent 2a158f0 commit dfba718
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions voctogui/lib/presetcontroller.py
Original file line number Diff line number Diff line change
Expand Up @@ -83,9 +83,9 @@ def __init__(self, win, preview_controller, uibuilder):
Connection.on("composite", self.on_composite)

def on_btn_toggled(self, btn):
self.log.debug(f">on_btn_toggle {btn=}")
id = btn.get_name()
self.log.debug(f">on_btn_toggle {btn=} {id=}")
if btn.get_active():
id = btn.get_name()
self.log.info(f"Preset Button {id} was pressed")
if id not in self.button_to_composites:
self.log.error(f"Button {id} not found in composites!")
Expand Down

0 comments on commit dfba718

Please sign in to comment.