aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/FbTk/TextBox.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/FbTk/TextBox.cc b/src/FbTk/TextBox.cc
index e1f9e32..8c0af87 100644
--- a/src/FbTk/TextBox.cc
+++ b/src/FbTk/TextBox.cc
@@ -405,6 +405,7 @@ void TextBox::keyPressEvent(XKeyEvent &event) {
405 std::string val; 405 std::string val;
406 val += keychar[0]; 406 val += keychar[0];
407 insertText(val); 407 insertText(val);
408 m_select_pos = std::string::npos;
408 } 409 }
409 if ((event.state & ShiftMask) != ShiftMask) 410 if ((event.state & ShiftMask) != ShiftMask)
410 m_select_pos = std::string::npos; 411 m_select_pos = std::string::npos;