diff --git a/qt/aqt/editor.py b/qt/aqt/editor.py index d1a1ae233..a12c70d68 100644 --- a/qt/aqt/editor.py +++ b/qt/aqt/editor.py @@ -1343,7 +1343,7 @@ class EditorWebView(AnkiWebView): return html = mime.html() mime.setHtml(f"{html}") - clip.setMimeData(mime) + aqt.mw.progress.timer(10, lambda: clip.setMimeData(mime), False, parent=self) def contextMenuEvent(self, evt: QContextMenuEvent) -> None: m = QMenu(self)