projects
/
framework
/
osp
/
uifw.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c837219
)
Fix for Mode locking issue
author
Ayush
<ayush.sriv@samsung.com>
Fri, 24 May 2013 05:02:43 +0000
(10:32 +0530)
committer
Ayush
<ayush.sriv@samsung.com>
Fri, 24 May 2013 05:02:43 +0000
(10:32 +0530)
Change-Id: I15ff6ed30c72cd5ae1d9b4da8ad2d2bda9d5c12e
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
d1b74a8
..
ae45a68
100644
(file)
--- a/
src/ui/controls/FUiCtrl_SearchBar.cpp
+++ b/
src/ui/controls/FUiCtrl_SearchBar.cpp
@@
-580,6
+580,16
@@
_SearchBar::SetMode(SearchBarMode mode)
result
_SearchBar::SetModeLocked(bool modeLocked)
{
+ if (modeLocked == true && GetMode() == SEARCH_BAR_MODE_NORMAL)
+ {
+ __pEdit->SetViewModeEnabled(true);
+ }
+
+ if (modeLocked == false && __pEdit->IsViewModeEnabled())
+ {
+ __pEdit->SetViewModeEnabled(false);
+ }
+
return __pSearchBarPresenter->SetModeLocked(modeLocked);
}