Paste clipboard when using shift-insert in prompts
This commit is contained in:
parent
7dba877354
commit
64feb62fb1
@ -48,8 +48,7 @@ class MinimalLineEditMixin:
|
|||||||
try:
|
try:
|
||||||
text = utils.get_clipboard(selection=True)
|
text = utils.get_clipboard(selection=True)
|
||||||
except utils.ClipboardError:
|
except utils.ClipboardError:
|
||||||
pass
|
text = utils.get_clipboard()
|
||||||
else:
|
|
||||||
e.accept()
|
e.accept()
|
||||||
self.insert(text)
|
self.insert(text)
|
||||||
return
|
return
|
||||||
|
Loading…
Reference in New Issue
Block a user