mirror of
https://github.com/ankitects/anki.git
synced 2025-11-06 20:57:13 -05:00
fix drag&drop failing to save again
I'm guessing the move to qt 5.9.2 caused this regression
This commit is contained in:
parent
3b7c0ff733
commit
8233021419
1 changed files with 3 additions and 0 deletions
|
|
@ -169,6 +169,9 @@ function onDragOver(elem) {
|
|||
|
||||
function makeDropTargetCurrent() {
|
||||
dropTarget.focus();
|
||||
// the focus event may not fire if the window is not active, so make sure
|
||||
// the current field is set
|
||||
currentField = dropTarget;
|
||||
}
|
||||
|
||||
function onPaste(elem) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue