diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2019-09-20 17:10:33 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-09-20 17:10:33 +0200 |
commit | d364e88c2a77a5470d64b77daa588f6dbb8adbc7 (patch) | |
tree | 0ee310dbff3659d0d9a92e094943dc6aebf078e9 | |
parent | a80407fe31fe627a8329a25cf2d5040871b25f34 (diff) | |
parent | 8c3bb69e72d7d67f74e78aec234fa6b5812427a5 (diff) |
Merge pull request #32209 from YeldhamDev/fix_connection_type_hints
Fix incorrect typing when creating methods via the connection dialog
-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 c5b81c4685..cfc2ec11cf 100644 --- a/editor/connections_dialog.cpp +++ b/editor/connections_dialog.cpp @@ -529,7 +529,7 @@ void ConnectionsDock::_make_or_edit_connection() { // Pick up args here before "it" is deleted by update_tree. script_function_args = it->get_metadata(0).operator Dictionary()["args"]; for (int i = 0; i < cToMake.binds.size(); i++) { - script_function_args.append("extra_arg_" + itos(i)); + script_function_args.append("extra_arg_" + itos(i) + ":" + Variant::get_type_name(cToMake.binds[i].get_type())); } } |