summaryrefslogtreecommitdiff
path: root/client
diff options
context:
space:
mode:
authordeva <deva>2008-08-27 07:35:17 +0000
committerdeva <deva>2008-08-27 07:35:17 +0000
commite5721134b1a27b7695761a004e304223c5dd9cb9 (patch)
tree24672eb693fdaea8c9c068b42d6f46f949a5b593 /client
parentda6e5427b1275d9bbaed9ddb3dbc15b09be99bb1 (diff)
Fixed lineedit textChanged signal (for lua validator).
Diffstat (limited to 'client')
-rw-r--r--client/widgets/lineedit.cc1
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);
}