Fix EditorHelpBitTooltip in single window mode.

This commit is contained in:
Pāvels Nadtočajevs 2025-04-07 10:38:10 +03:00
parent a210fe6dbd
commit 903e850390
No known key found for this signature in database
GPG key ID: 8413210218EF35D2

View file

@ -4555,7 +4555,7 @@ void EditorHelpBitTooltip::popup_under_cursor() {
// When `FLAG_POPUP` is false, it prevents the editor from losing focus when displaying the tooltip.
// This way, clicks and double-clicks are still available outside the tooltip.
set_flag(Window::FLAG_POPUP, false);
set_flag(Window::FLAG_NO_FOCUS, true);
set_flag(Window::FLAG_NO_FOCUS, !is_embedded());
popup(r);
}