summaryrefslogtreecommitdiff
path: root/plugingui/lineedit.cc
diff options
context:
space:
mode:
Diffstat (limited to 'plugingui/lineedit.cc')
-rw-r--r--plugingui/lineedit.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/plugingui/lineedit.cc b/plugingui/lineedit.cc
index 9308902..16c6dda 100644
--- a/plugingui/lineedit.cc
+++ b/plugingui/lineedit.cc
@@ -94,6 +94,7 @@ void GUI::LineEdit::buttonEvent(ButtonEvent *e)
break;
}
}
+ if(e->x >= (int)(font.textWidth(_text) + BORDER)) pos = _text.length();
repaintEvent(NULL);
}
}