Merge pull request #64885 from Mickeon/rename-tooltip-hint
Rename `hint_tooltip` to `tooltip_text` & setter getter
This commit is contained in:
commit
f7f8af232c
85 changed files with 468 additions and 463 deletions
|
|
@ -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."));
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue