diff options
author | deva <deva> | 2008-08-27 07:35:17 +0000 |
---|---|---|
committer | deva <deva> | 2008-08-27 07:35:17 +0000 |
commit | e5721134b1a27b7695761a004e304223c5dd9cb9 (patch) | |
tree | 24672eb693fdaea8c9c068b42d6f46f949a5b593 | |
parent | da6e5427b1275d9bbaed9ddb3dbc15b09be99bb1 (diff) |
Fixed lineedit textChanged signal (for lua validator).
-rw-r--r-- | client/widgets/lineedit.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/client/widgets/lineedit.cc b/client/widgets/lineedit.cc index 89ac276..977c5a2 100644 --- a/client/widgets/lineedit.cc +++ b/client/widgets/lineedit.cc @@ -94,6 +94,7 @@ QString LineEdit::getValue() void LineEdit::setValue(QString value) { + if(text() == value) setText(value + " "); // Hack to make sure the textChanged signal is emitted. setText(value); } |