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:
835a476
)
Sync Enablstate and Focused control
author
keonpyo.kong
<keonpyo.kong@samsung.com>
Mon, 6 May 2013 08:28:52 +0000
(17:28 +0900)
committer
keonpyo.kong
<keonpyo.kong@samsung.com>
Mon, 6 May 2013 08:28:52 +0000
(17:28 +0900)
Change-Id: Ia0bdc9eebff9dccf731e9a940d2d06f10647ccd7
Signed-off-by: keonpyo.kong <keonpyo.kong@samsung.com>
src/ui/FUi_Control.cpp
patch
|
blob
|
history
diff --git
a/src/ui/FUi_Control.cpp
b/src/ui/FUi_Control.cpp
index
c31c75d
..
99ca14d
100644
(file)
--- a/
src/ui/FUi_Control.cpp
+++ b/
src/ui/FUi_Control.cpp
@@
-2791,9
+2791,10
@@
_Control::SetEnableState(bool enabledState)
const bool changed = (__enabledState != enabledState);
if (changed)
{
- if (!enabledState && GetFocused() == this)
+ _Control* pControl = GetFocused();
+ if (!enabledState && pControl)
{
- SetFocused(false);
+
pControl->
SetFocused(false);
}
__enabledState = enabledState;
CallOnAncestorEnableStateChanged();