Merge pull request #2676 from neikeq/inspector_history_tooltip

Tooltip for the Inspector's history button
This commit is contained in:
Juan Linietsky 2015-11-18 19:04:16 -03:00
commit 5db5255260

View file

@ -5285,6 +5285,7 @@ EditorNode::EditorNode() {
editor_history_menu = memnew( MenuButton ); editor_history_menu = memnew( MenuButton );
editor_history_menu->set_tooltip("History of recently edited objects");
editor_history_menu->set_icon( gui_base->get_icon("History","EditorIcons")); editor_history_menu->set_icon( gui_base->get_icon("History","EditorIcons"));
prop_editor_hb->add_child(editor_history_menu); prop_editor_hb->add_child(editor_history_menu);
editor_history_menu->connect("about_to_show",this,"_prepare_history"); editor_history_menu->connect("about_to_show",this,"_prepare_history");