Skip to content

Commit

Permalink
voctogui: actually call best() in PresetController
Browse files Browse the repository at this point in the history
  • Loading branch information
Kunsi committed Apr 22, 2024
1 parent e7afc99 commit a37ca2a
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 @@ -71,7 +71,7 @@ def on_btn_toggled(self, btn):
if btn.get_active():
if id not in self.buttons:
return
self.preview_controller.set_command(self.button_to_composites[id], False)
self.preview_controller.set_command(self.button_to_composites[id])

def on_best(self, best, targetA, targetB):
if f'preset_{best}_{targetA}' in self.button_to_composites:
Expand All @@ -80,7 +80,7 @@ def on_best(self, best, targetA, targetB):
self.current_state = f'preset_{best}_{targetA}_{targetB}'
else:
self.current_state = None
self.log.debug(f'on_best {best=} {targetA=} {targetB=}{self.current_state=}')
self.log.debug(f'on_best {best=} {targetA=} {targetB=} {self.current_state=}')
self.update_glow()

def on_composite(self, command):
Expand Down

0 comments on commit a37ca2a

Please sign in to comment.