Add tooltip to skeleton menu button.

Fixes #23008.
This commit is contained in:
Zaven Muradyan 2018-10-17 00:53:29 -07:00
parent 0dbe01483a
commit b58c46fc9c
1 changed files with 1 additions and 0 deletions

View File

@ -4608,6 +4608,7 @@ CanvasItemEditor::CanvasItemEditor(EditorNode *p_editor) {
skeleton_menu = memnew(MenuButton); skeleton_menu = memnew(MenuButton);
hb->add_child(skeleton_menu); hb->add_child(skeleton_menu);
skeleton_menu->set_tooltip(TTR("Skeleton Options"));
p = skeleton_menu->get_popup(); p = skeleton_menu->get_popup();
p->set_hide_on_checkable_item_selection(false); p->set_hide_on_checkable_item_selection(false);