Code Review
/
apps
/
poi-yelp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
40e5b9f
)
poi-yelp: fix issue with text input on startup
99/22599/2
author
Matt Ranostay
<matt.ranostay@konsulko.com>
Thu, 10 Oct 2019 10:34:06 +0000
(
03:34
-0700)
committer
Matt Ranostay
<matt.ranostay@konsulko.com>
Thu, 10 Oct 2019 14:47:37 +0000
(07:47 -0700)
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>
MainApp.cpp
patch
|
blob
|
history
diff --git
a/MainApp.cpp
b/MainApp.cpp
index
d5de395
..
4bb10ba
100644
(file)
--- a/
MainApp.cpp
+++ b/
MainApp.cpp
@@
-273,6
+273,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();
}