[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.
Actor actor = GetCurrentFocusActor();
if(actor)
{
- actor.Remove(mFocusIndicatorActor);
+ if(mFocusIndicatorActor)
+ {
+ actor.Remove(mFocusIndicatorActor);
+ }
// Send notification for the change of focus actor
if( !mFocusChangedSignalV2.Empty() )