Merge pull request #64885 from Mickeon/rename-tooltip-hint

Rename `hint_tooltip` to `tooltip_text` & setter getter
This commit is contained in:
Rémi Verschelde 2022-08-28 17:43:01 +02:00 committed by GitHub
commit f7f8af232c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
85 changed files with 468 additions and 463 deletions

View file

@ -150,14 +150,14 @@ void EditorPath::update_path() {
}
current_object_label->set_text(" " + name); // An extra space so the text is not too close of the icon.
set_tooltip(obj->get_class());
set_tooltip_text(obj->get_class());
}
}
}
void EditorPath::clear_path() {
set_disabled(true);
set_tooltip("");
set_tooltip_text("");
current_object_label->set_text("");
current_object_icon->set_texture(nullptr);
@ -230,5 +230,5 @@ EditorPath::EditorPath(EditorSelectionHistory *p_history) {
sub_objects_menu->connect("about_to_popup", callable_mp(this, &EditorPath::_about_to_show));
sub_objects_menu->connect("id_pressed", callable_mp(this, &EditorPath::_id_pressed));
set_tooltip(TTR("Open a list of sub-resources."));
set_tooltip_text(TTR("Open a list of sub-resources."));
}