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:
c3bc6ce
)
Null setting for FocusedControl
author
keonpyo.kong
<keonpyo.kong@samsung.com>
Mon, 25 Mar 2013 13:19:54 +0000
(22:19 +0900)
committer
keonpyo.kong
<keonpyo.kong@samsung.com>
Mon, 25 Mar 2013 13:19:54 +0000
(22:19 +0900)
Change-Id: I511ab2a4a488edfaf6e4b54966506824d820a8a2
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
188998f
..
9058390
100755
(executable)
--- a/
src/ui/FUi_Control.cpp
+++ b/
src/ui/FUi_Control.cpp
@@
-3608,6
+3608,15
@@
_Control::~_Control(void)
__pFont = null;
}
+ _Window* pTop = GetRootWindow();
+ if (pTop)
+ {
+ if (this == pTop->GetFocusedControl())
+ {
+ pTop->SetFocusedControl(null);
+ }
+ }
+
// Dangerous: it clears last result and log in catch block.
// ClearLastResult();
}