summaryrefslogtreecommitdiff
path: root/editor
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <rverschelde@gmail.com>2020-09-15 15:05:04 +0200
committerGitHub <noreply@github.com>2020-09-15 15:05:04 +0200
commitdd1c30d807c23483e06bfdac2831d125b5ecc178 (patch)
treeab5d396d7ee802921256306ae0fa1d0a4ca0647f /editor
parent2b07126cd6ba0ab5266252f1f99ec85a42844408 (diff)
parenteeb6c2e22c56f988a72cdc6455e55d6039d652fc (diff)
Merge pull request #42082 from aterlamia/show-corrrect-connection-title
Show correct name of signal when editing an existing one
Diffstat (limited to 'editor')
-rw-r--r--editor/connections_dialog.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/editor/connections_dialog.cpp b/editor/connections_dialog.cpp
index 20d29d47f4..d1661fd7b3 100644
--- a/editor/connections_dialog.cpp
+++ b/editor/connections_dialog.cpp
@@ -754,8 +754,9 @@ void ConnectionsDock::_open_connection_dialog(ConnectDialog::ConnectionData cToE
Node *dst = static_cast<Node *>(cToEdit.target);
if (src && dst) {
+ const String &signalname = cToEdit.signal;
connect_dialog->set_title(TTR("Edit Connection:") + cToEdit.signal);
- connect_dialog->popup_centered();
+ connect_dialog->popup_dialog(signalname);
connect_dialog->init(cToEdit, true);
}
}