Skip to content

Commit 8657d8a

Browse files
committed
Fix RichTextLabel Focus
1 parent 06827c9 commit 8657d8a

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
@@ -2788,7 +2788,7 @@ void RichTextLabel::gui_input(const Ref<InputEvent> &p_event) {
27882788
menu->set_position(get_screen_transform().xform(b->get_position()));
27892789
menu->reset_size();
27902790
menu->popup();
2791-
grab_focus();
2791+
menu->grab_focus();
27922792
}
27932793
}
27942794

0 commit comments

Comments
 (0)