Fixed crash when KeyboardFocusManager clears the focus
authorRichard Huang <r.huang@samsung.com>
Wed, 14 May 2014 16:52:19 +0000 (17:52 +0100)
committerAdeel Kazmi <adeel.kazmi@samsung.com>
Tue, 27 May 2014 14:35:53 +0000 (15:35 +0100)
commit8dd072cea384d6c48becf4482a60d3428c7f1373
tree42960a21fe372083da640cdeabb1d2126b0b7104
parent266dbd296834e8fc8723c9c3f3e62a9abd94bcdd
Fixed crash when KeyboardFocusManager clears the focus

[problem] There is crash if focus indicator is empty but KeyboardFocusManager
          tries to clear the focus.
[cause] It doesn't check whether focus indicator exists before remove it from
        the current focused actor.
[solution] Check whether focus indicator exists before remove it.
base/dali-toolkit/internal/focus-manager/keyboard-focus-manager-impl.cpp