1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-11 13:10:58 +00:00

Minor improvements to the Node dock

This commit is contained in:
Michael Alexsander Silva Dias
2019-08-17 13:36:16 -03:00
parent cc9f2a2d8b
commit 96a256557c
2 changed files with 7 additions and 7 deletions

View File

@@ -881,7 +881,6 @@ void ConnectionsDock::update_tree() {
icon = get_icon(scr->get_class(), "EditorIcons");
}
}
} else {
ClassDB::get_signal_list(base, &node_signals2, true);
@@ -891,6 +890,10 @@ void ConnectionsDock::update_tree() {
name = base;
}
if (!icon.is_valid()) {
icon = get_icon("Object", "EditorIcons");
}
TreeItem *pitem = NULL;
if (node_signals2.size()) {
@@ -939,7 +942,7 @@ void ConnectionsDock::update_tree() {
item->set_metadata(0, sinfo);
item->set_icon(0, get_icon("Signal", "EditorIcons"));
// Set tooltip with the signal's documentation
// Set tooltip with the signal's documentation.
{
String descr;
bool found = false;