aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatt Ranostay <matt.ranostay@konsulko.com>2019-10-10 03:34:06 -0700
committerJan-Simon Moeller <jsmoeller@linuxfoundation.org>2019-11-17 15:46:14 +0000
commit2ec251a54470b92ae16cbdd4f73c5d76c24d0cbb (patch)
treeeb5225008f75d19556da59c7d477e710a877007b
parenta41289ab2a93acda43e6a5ee2e6057353d86babc (diff)
poi-yelp: fix issue with text input on startuphalibut_8.0.3halibut/8.0.38.0.3
On startup any initial keyboard input will be invisible to the application until Search button is clicked. So work around this for now. Bug-AGL: SPEC-2872 Change-Id: I9572b250e4bb5fb486927143b7450b3b2e5866c2 Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com> (cherry picked from commit b7a28bd083843eb35790f351418f6fccdeed9aa4)
-rw-r--r--MainApp.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/MainApp.cpp b/MainApp.cpp
index a5a3865..6689507 100644
--- a/MainApp.cpp
+++ b/MainApp.cpp
@@ -288,6 +288,10 @@ void MainApp::textAdded(const QString & text)
{
mutex.lock();
lineEdit.setText(lineEdit.text() + text);
+
+ // be sure any text is visible on initial input
+ lineEdit.setVisible(true);
+
mutex.unlock();
}