diff --git a/streamdeck_ui/gui.py b/streamdeck_ui/gui.py index b6593395..2d189b9e 100644 --- a/streamdeck_ui/gui.py +++ b/streamdeck_ui/gui.py @@ -520,7 +520,7 @@ def build_buttons(ui, tab) -> None: # Note that the button click event captures the ui variable, the current button # and all the other buttons for button in buttons: - button.clicked.connect(lambda button=button, buttons=buttons: button_clicked(ui, button, buttons)) + button.clicked.connect(lambda _checked, button=button, buttons=buttons: button_clicked(ui, button, buttons)) def export_config(window) -> None: