You've already forked godot
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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user