aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/Editor.cxx4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/Editor.cxx b/src/Editor.cxx
index 0289fa5e5..318131110 100644
--- a/src/Editor.cxx
+++ b/src/Editor.cxx
@@ -4920,7 +4920,9 @@ void Editor::ButtonDownWithModifiers(Point pt, unsigned int curTime, KeyMod modi
SetSelection(newPos, newPos);
}
if (!sel.Range(selectionPart).Empty()) {
- inDragDrop = DragDrop::initial;
+ if (dragDropEnabled) {
+ inDragDrop = DragDrop::initial;
+ }
}
}
}