aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Editor.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'src/Editor.cxx')
-rw-r--r--src/Editor.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Editor.cxx b/src/Editor.cxx
index 4733ae296..15848f056 100644
--- a/src/Editor.cxx
+++ b/src/Editor.cxx
@@ -4499,6 +4499,7 @@ void Editor::ButtonDownWithModifiers(Point pt, unsigned int curTime, int modifie
} else { // Single click
if (inSelMargin) {
if (sel.IsRectangular() || (sel.Count() > 1)) {
+ InvalidateWholeSelection();
sel.Clear();
}
sel.selType = Selection::selStream;