From 134dcb6f0bb29a92adeebfa8927c43473acf9fb2 Mon Sep 17 00:00:00 2001 From: aclist <92275929+aclist@users.noreply.github.com> Date: Wed, 11 Nov 2026 03:27:12 +0900 Subject: [PATCH] fix: unused param blocking boot --- dzgui/views/components/buttons.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/dzgui/views/components/buttons.py b/dzgui/views/components/buttons.py index a8c9faf..53e89d8 100644 --- a/dzgui/views/components/buttons.py +++ b/dzgui/views/components/buttons.py @@ -98,9 +98,8 @@ class LargeIconTextButton(IconButton): class ClipboardButton(IconTextButton): - def __init__(self, controller: Union["Controller", None], func: Callable) -> None: + def __init__(self, func: Callable) -> None: super().__init__(ICON_CLIPBOARD, atomic_buttons.copy) - self.controller = controller self.connect("clicked", self._on_button_clicked, func) self.set_tooltip_text(buttons.clipboard_button)