mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-01-31 11:01:40 +00:00
Restore the caret on drag exit. bug 397283, r+sr+a=roc
This commit is contained in:
parent
93dbb94bde
commit
9f58829ef9
@ -620,6 +620,10 @@ nsTextEditorDragListener::DragExit(nsIDOMEvent* aDragEvent)
|
||||
mCaretDrawn = PR_FALSE;
|
||||
}
|
||||
|
||||
nsCOMPtr<nsIPresShell> presShell = do_QueryReferent(mPresShell);
|
||||
if (presShell)
|
||||
presShell->RestoreCaret();
|
||||
|
||||
return NS_OK;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user