From 05fe55231cc44a201e44d689b160908253b5f865 Mon Sep 17 00:00:00 2001 From: Damien Elmes Date: Tue, 27 Mar 2012 11:22:37 +0900 Subject: [PATCH] drop events should save the note --- aqt/editor.py | 1 + 1 file changed, 1 insertion(+) diff --git a/aqt/editor.py b/aqt/editor.py index af2b2efdc..9d0634f24 100644 --- a/aqt/editor.py +++ b/aqt/editor.py @@ -902,6 +902,7 @@ class EditorWebView(AnkiWebView): evt.mouseButtons(), evt.keyboardModifiers()) evt.accept() QWebView.dropEvent(self, new) + self.editor.saveNow() def prepareClip(self, keep=False, mode=QClipboard.Clipboard): clip = self.editor.mw.app.clipboard()