diff options
-rw-r--r-- | plugingui/lineedit.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/plugingui/lineedit.cc b/plugingui/lineedit.cc index 25eeb4b..cf77a3d 100644 --- a/plugingui/lineedit.cc +++ b/plugingui/lineedit.cc @@ -216,7 +216,6 @@ void LineEdit::repaintEvent(RepaintEvent *repaintEvent) Painter p(*this); p.clear(); - int w = width(); int h = height(); if((w == 0) || (h == 0)) @@ -243,6 +242,8 @@ void LineEdit::repaintEvent(RepaintEvent *repaintEvent) break; case Noop: + visibleText = _text; + offsetPos = 0; break; } |