Skip to content

Commit 9efb50b

Browse files
committed
Merge pull request #111250 from scgm0/Fix-RichTextLabel-Focus
Fix RichTextLabel Focus Box
2 parents 4bfe73c + 8657d8a commit 9efb50b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scene/gui/rich_text_label.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2789,7 +2789,7 @@ void RichTextLabel::gui_input(const Ref<InputEvent> &p_event) {
27892789
menu->set_position(get_screen_transform().xform(b->get_position()));
27902790
menu->reset_size();
27912791
menu->popup();
2792-
grab_focus();
2792+
menu->grab_focus();
27932793
}
27942794
}
27952795

0 commit comments

Comments
 (0)