Fix connection dialog raise error when it was previously opened in another scene
This commit is contained in:
parent
83b916bb00
commit
4aa5c80c07
1 changed files with 1 additions and 1 deletions
|
@ -1101,9 +1101,9 @@ void ConnectionsDock::_open_connection_dialog(TreeItem &p_item) {
|
|||
cd.signal = StringName(signal_name);
|
||||
cd.target = dst_node;
|
||||
cd.method = ConnectDialog::generate_method_callback_name(cd.source, signal_name, cd.target);
|
||||
connect_dialog->popup_dialog(signal_name + "(" + String(", ").join(signal_args) + ")");
|
||||
connect_dialog->init(cd, signal_args);
|
||||
connect_dialog->set_title(TTR("Connect a Signal to a Method"));
|
||||
connect_dialog->popup_dialog(signal_name + "(" + String(", ").join(signal_args) + ")");
|
||||
}
|
||||
|
||||
/*
|
||||
|
|
Loading…
Reference in a new issue