From 6a54dbb6512ea1511e3cd24ec933e7b1c86b5ca4 Mon Sep 17 00:00:00 2001 From: Neil Date: Sat, 22 Oct 2016 14:39:06 +1100 Subject: Redraw previous selection when switching from rectangular selection to line selection. --- src/Editor.cxx | 1 + 1 file changed, 1 insertion(+) (limited to 'src') 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; -- cgit v1.2.3