From 88f6b84bea4ead5cf73f62d3dc3c882a39a96c7c Mon Sep 17 00:00:00 2001 From: aclist <92275929+aclist@users.noreply.github.com> Date: Wed, 11 Nov 2026 03:29:23 +0900 Subject: [PATCH] fix: restore dropped typehint --- dzgui/views/components/buttons.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dzgui/views/components/buttons.py b/dzgui/views/components/buttons.py index 53e89d8..c073059 100644 --- a/dzgui/views/components/buttons.py +++ b/dzgui/views/components/buttons.py @@ -98,7 +98,7 @@ class LargeIconTextButton(IconButton): class ClipboardButton(IconTextButton): - def __init__(self, func: Callable) -> None: + def __init__(self, func: Callable[[], str]) -> None: super().__init__(ICON_CLIPBOARD, atomic_buttons.copy) self.connect("clicked", self._on_button_clicked, func)