diff options
author | trollodel <33117082+trollodel@users.noreply.github.com> | 2021-03-07 21:07:30 +0100 |
---|---|---|
committer | trollodel <33117082+trollodel@users.noreply.github.com> | 2021-05-17 22:06:46 +0200 |
commit | bca0d36fe662477eb787b4ddc9b0b69ab4603393 (patch) | |
tree | ecf4ceaffa5559cb7a0fd0920997bad9a779532e /editor/connections_dialog.cpp | |
parent | 92c04fa727e3fc507e31c1bce88beeceb98fb06a (diff) |
Improve TreeItem API and allow to move nodes
Diffstat (limited to 'editor/connections_dialog.cpp')
-rw-r--r-- | editor/connections_dialog.cpp | 2 |
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)); |