From 71fc6ab7d9ef893ed2fc10ee4f7918f2bf76e14d Mon Sep 17 00:00:00 2001 From: leo Date: Sat, 17 May 2025 16:47:07 +0200 Subject: [PATCH] Fix property button in button_clicked event is of type bool --- streamdeck_ui/gui.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: