summaryrefslogtreecommitdiff
path: root/editor/connections_dialog.cpp
diff options
context:
space:
mode:
authortrollodel <33117082+trollodel@users.noreply.github.com>2021-03-07 21:07:30 +0100
committertrollodel <33117082+trollodel@users.noreply.github.com>2021-05-17 22:06:46 +0200
commitbca0d36fe662477eb787b4ddc9b0b69ab4603393 (patch)
treeecf4ceaffa5559cb7a0fd0920997bad9a779532e /editor/connections_dialog.cpp
parent92c04fa727e3fc507e31c1bce88beeceb98fb06a (diff)
Improve TreeItem API and allow to move nodes
Diffstat (limited to 'editor/connections_dialog.cpp')
-rw-r--r--editor/connections_dialog.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/connections_dialog.cpp b/editor/connections_dialog.cpp
index 0c1fb6fe4d..511c2a48cc 100644
--- a/editor/connections_dialog.cpp
+++ b/editor/connections_dialog.cpp
@@ -655,7 +655,7 @@ void ConnectionsDock::_disconnect_all() {
return;
}
- TreeItem *child = item->get_children();
+ TreeItem *child = item->get_first_child();
String signalName = item->get_metadata(0).operator Dictionary()["name"];
undo_redo->create_action(vformat(TTR("Disconnect all from signal: '%s'"), signalName));