diff --git a/scene/gui/rich_text_label.cpp b/scene/gui/rich_text_label.cpp index 9eb8f5500fc..9ebfe1d1cca 100644 --- a/scene/gui/rich_text_label.cpp +++ b/scene/gui/rich_text_label.cpp @@ -2789,7 +2789,7 @@ void RichTextLabel::gui_input(const Ref &p_event) { menu->set_position(get_screen_transform().xform(b->get_position())); menu->reset_size(); menu->popup(); - grab_focus(); + menu->grab_focus(); } }