mirror of
https://github.com/ankitects/anki.git
synced 2025-09-21 15:32:23 -04:00
drop events should save the note
This commit is contained in:
parent
4e4c22a233
commit
05fe55231c
1 changed files with 1 additions and 0 deletions
|
@ -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()
|
||||
|
|
Loading…
Reference in a new issue