diff options
Diffstat (limited to 'plugingui')
-rw-r--r-- | plugingui/Makefile.am | 11 | ||||
-rw-r--r-- | plugingui/lineedit.cc | 1 |
2 files changed, 1 insertions, 11 deletions
diff --git a/plugingui/Makefile.am b/plugingui/Makefile.am index e705b3b..aee2de6 100644 --- a/plugingui/Makefile.am +++ b/plugingui/Makefile.am @@ -51,14 +51,3 @@ EXTRA_DIST = \ verticalline.h \ widget.h \ window.h - -################ -# Test Section # -################ - -TEST_SOURCE_DEPS = ${EXTRA_DIST} -TEST_SCRIPT_DIR = $(top_srcdir)/tools - -include ${TEST_SCRIPT_DIR}/Makefile.am.test - -include Makefile.am.test 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); } } |