mirror of
https://github.com/aclist/dztui.git
synced 2026-11-03 00:22:04 +01:00
feat: dynamic update on clipboard button click
This commit is contained in:
1 parent
ec7828df85
commit
52ab81f4ec
2 files changed
+17
-1
No files matched your search
@@ -131,6 +131,7 @@ class RightPanel(Gtk.Box):
|
||||
return
|
||||
self.copying = True
|
||||
version = self.version_label.get_text()
|
||||
# TODO: strings
|
||||
self.version_label.set_text("Copied!")
|
||||
copy_clipboard(version)
|
||||
GLib.timeout_add_seconds(1, revert)
|
||||
Reference in new issue
Block a user