From e5721134b1a27b7695761a004e304223c5dd9cb9 Mon Sep 17 00:00:00 2001 From: deva Date: Wed, 27 Aug 2008 07:35:17 +0000 Subject: Fixed lineedit textChanged signal (for lua validator). --- client/widgets/lineedit.cc | 1 + 1 file changed, 1 insertion(+) (limited to 'client') 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); } -- cgit v1.2.3