diff --git a/qutebrowser/misc/miscwidgets.py b/qutebrowser/misc/miscwidgets.py index 0337269ea..f696951ec 100644 --- a/qutebrowser/misc/miscwidgets.py +++ b/qutebrowser/misc/miscwidgets.py @@ -48,11 +48,10 @@ class MinimalLineEditMixin: try: text = utils.get_clipboard(selection=True) except utils.ClipboardError: - pass - else: - e.accept() - self.insert(text) - return + text = utils.get_clipboard() + e.accept() + self.insert(text) + return super().keyPressEvent(e) def __repr__(self):