summaryrefslogtreecommitdiff
path: root/src/interface/Textbox.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/interface/Textbox.cpp')
-rw-r--r--src/interface/Textbox.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/interface/Textbox.cpp b/src/interface/Textbox.cpp
index 550687f..54c6e75 100644
--- a/src/interface/Textbox.cpp
+++ b/src/interface/Textbox.cpp
@@ -162,6 +162,7 @@ void Textbox::pasteIntoSelection()
cursor = getLowerSelectionBound();
}
backingText.insert(cursor, newText);
+ cursor = cursor+newText.length();
ClearSelection();
if(masked)