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:
3b48cfa
)
Change SetEnableState() function logic - Call SetFocused(false) if enabledState is...
author
jaewon7.cho
<jaewon7.cho@samsung.com>
Mon, 18 Mar 2013 08:16:44 +0000
(17:16 +0900)
committer
jaewon7.cho
<jaewon7.cho@samsung.com>
Mon, 18 Mar 2013 08:17:08 +0000
(17:17 +0900)
Change-Id: Ie63345da318fa0e636007b761234739ee56bc7d3
Signed-off-by: jaewon7.cho <jaewon7.cho@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
04ed479
..
a40edeb
100644
(file)
--- a/
src/ui/FUi_Control.cpp
+++ b/
src/ui/FUi_Control.cpp
@@
-2621,13
+2621,13
@@
_Control::SetEnableState(bool enabledState)
{
ClearLastResult();
const bool changed = (__enabledState != enabledState);
- __enabledState = enabledState;
if (changed)
{
- if (GetFocused() == this)
+ if (
!enabledState &&
GetFocused() == this)
{
SetFocused(false);
}
+ __enabledState = enabledState;
CallOnAncestorEnableStateChanged();
}
__pAccessibilityContainer->SetEnableState(enabledState);