Move the point of setting currentFocusControl to before FocusLost. 77/289777/7
authorjoogab.yun <joogab.yun@samsung.com>
Tue, 14 Mar 2023 08:01:39 +0000 (17:01 +0900)
committerjoogab.yun <joogab.yun@samsung.com>
Mon, 24 Apr 2023 03:36:42 +0000 (12:36 +0900)
commitef41b16d0c5b4cc2983326fcb0e2ed95a3dae70c
treec0263f6f95e25b557e1f225fb97eba9cf65c0960
parent76ee1ed0b37de654f1d67d3aa30650d87bd28395
Move the point of setting currentFocusControl to before FocusLost.

The FocusLost event has happened, but HasKeyInputFocus() still returns true.
Therefore, move the currentFocusControl setting point to before the FocusLost event.

Change-Id: Ib8152dec1beb1959aef61dbc73f5ce522e6db72e
automated-tests/src/dali-toolkit/dali-toolkit-test-utils/dummy-control.cpp
dali-toolkit/internal/focus-manager/keyinput-focus-manager-impl.cpp