mirror of
https://github.com/HIllya51/LunaTranslator.git
synced 2024-12-29 16:44:13 +08:00
append
This commit is contained in:
parent
4e53b7cbd7
commit
c36c10dbe8
@ -262,7 +262,12 @@ class QUnFrameWindow(resizableframeless):
|
|||||||
word = word.get("origorig", word["orig"])
|
word = word.get("origorig", word["orig"])
|
||||||
|
|
||||||
if globalconfig["usecopyword"]:
|
if globalconfig["usecopyword"]:
|
||||||
winsharedutils.clipboard_set(word)
|
if append:
|
||||||
|
winsharedutils.clipboard_set(
|
||||||
|
winsharedutils.clipboard_get() + word
|
||||||
|
)
|
||||||
|
else:
|
||||||
|
winsharedutils.clipboard_set(word)
|
||||||
if globalconfig["usesearchword"]:
|
if globalconfig["usesearchword"]:
|
||||||
gobject.baseobject.searchwordW.getnewsentencesignal.emit(
|
gobject.baseobject.searchwordW.getnewsentencesignal.emit(
|
||||||
word, append
|
word, append
|
||||||
|
Loading…
x
Reference in New Issue
Block a user