aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/Editor.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/Editor.cxx b/src/Editor.cxx
index b0d292a44..312c39b37 100644
--- a/src/Editor.cxx
+++ b/src/Editor.cxx
@@ -6168,6 +6168,8 @@ void Editor::ButtonUp(Point pt, unsigned int curTime, bool ctrl) {
if (inDragDrop == ddInitial) {
inDragDrop = ddNone;
SetEmptySelection(newPos.Position());
+ selectionType = selChar;
+ originalAnchorPos = sel.MainCaret();
}
if (hotSpotClickPos != INVALID_POSITION && PointIsHotspot(pt)) {
hotSpotClickPos = INVALID_POSITION;