projects
/
platform
/
framework
/
native
/
uifw.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ed675a9
)
Fix for N_SE-40699
author
Ayush
<ayush.sriv@samsung.com>
Thu, 6 Jun 2013 12:12:01 +0000
(17:42 +0530)
committer
Ayush
<ayush.sriv@samsung.com>
Thu, 6 Jun 2013 12:23:30 +0000
(17:53 +0530)
Change-Id: I845fc98b94886ac9051ffbd98232fae710d91654
Signed-off-by: Ayush <ayush.sriv@samsung.com>
src/ui/controls/FUiCtrl_SearchBar.cpp
patch
|
blob
|
history
diff --git
a/src/ui/controls/FUiCtrl_SearchBar.cpp
b/src/ui/controls/FUiCtrl_SearchBar.cpp
index
1ad9ffe
..
311cb6c
100644
(file)
--- a/
src/ui/controls/FUiCtrl_SearchBar.cpp
+++ b/
src/ui/controls/FUiCtrl_SearchBar.cpp
@@
-1801,13
+1801,18
@@
_SearchBar::OnFocusLost(const _Control &source)
bool
_SearchBar::OnKeyPressed(const _Control& source, const _KeyInfo& keyInfo)
{
- _KeyCode keyCode = keyInfo.GetKeyCode();
+ if (!__pEdit->IsUsbKeyboardConnected())
+ {
+ return false;
+ }
if (!__pEdit->IsSearchFieldFocused())
{
return false;
}
+ _KeyCode keyCode = keyInfo.GetKeyCode();
+
switch (keyCode)
{
case _KEY_RIGHT: