Skip to content

Commit 6a561e0

Browse files
[emoji] Use paste action
1 parent f49f217 commit 6a561e0

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

emoji/__init__.py

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -169,9 +169,12 @@ def remove_redundancy(sentences):
169169
iconUrls=[f"gen:?text={emoji}"],
170170
actions=[
171171
Action(
172-
"copy",
173-
"Copy to clipboard",
174-
lambda emj=emoji: setClipboardText(emj),
172+
"paste", "Copy and paste to front-most window",
173+
lambda emj=emoji: setClipboardTextAndPaste(emj)
174+
),
175+
Action(
176+
"copy", "Copy to clipboard",
177+
lambda emj=emoji: setClipboardText(emj)
175178
),
176179
]
177180
)

0 commit comments

Comments
 (0)