diff --git a/editor/libeditor/text/nsEditorEventListeners.cpp b/editor/libeditor/text/nsEditorEventListeners.cpp index 681bf85290d..025f7cc4c30 100644 --- a/editor/libeditor/text/nsEditorEventListeners.cpp +++ b/editor/libeditor/text/nsEditorEventListeners.cpp @@ -620,6 +620,10 @@ nsTextEditorDragListener::DragExit(nsIDOMEvent* aDragEvent) mCaretDrawn = PR_FALSE; } + nsCOMPtr presShell = do_QueryReferent(mPresShell); + if (presShell) + presShell->RestoreCaret(); + return NS_OK; }