Merge pull request #42082 from aterlamia/show-corrrect-connection-title
Show correct name of signal when editing an existing one
This commit is contained in:
commit
dd1c30d807
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue