mirror of
https://github.com/aclist/dztui.git
synced 2026-11-10 20:10:38 +01:00
fix: restore dropped typehint
This commit is contained in:
1 parent
134dcb6f0b
commit
88f6b84bea
1 file changed
+1
-1
@@ -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)
|
||||
|
||||
|
||||
Reference in new issue
Block a user