aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--src/Editor.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Editor.cxx b/src/Editor.cxx
index 05fa0a23e..be02055a8 100644
--- a/src/Editor.cxx
+++ b/src/Editor.cxx
@@ -5225,6 +5225,7 @@ void Editor::SetDocPointer(Document *document) {
pdoc->AddRef();
// Ensure all positions within document
+ selType = selStream;
currentPos = 0;
anchor = 0;
targetStart = 0;