Fix audio focus issue by tracking the cause of lost focus.

Fixes #21643
This commit is contained in:
Henrik Rydgård committed 2026-05-06 00:06:32 +02:00
1 parent d4bd7c604c
commit 3a599c4714
16 files changed
+95 -70

No files matched your search

+1 -1
View File
@@ -431,7 +431,7 @@ void ViewSearch::ApplySearchFilter(UI::ViewGroup *viewGroup, bool setKeyboardFoc
if (firstMatch) {
if (setKeyboardFocus) {
UI::EnableFocusMovement(true);
UI::SetFocusedView(firstMatch);
UI::SetFocusedView(firstMatch, UI::FocusFlags::CAUSE_OTHER);
}
}
}