diff options
-rw-r--r-- | editor/connections_dialog.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/editor/connections_dialog.cpp b/editor/connections_dialog.cpp index 20a9e633a8..befe84f311 100644 --- a/editor/connections_dialog.cpp +++ b/editor/connections_dialog.cpp @@ -343,6 +343,9 @@ void ConnectDialog::_update_method_tree() { si_item->set_icon(0, get_theme_icon(SNAME("Script"), SNAME("EditorIcons"))); si_item->set_selectable(0, false); + if (si->get_script()->is_built_in()) { + si->get_script()->reload(); + } List<MethodInfo> methods; si->get_method_list(&methods); methods = _filter_method_list(methods, signal_info, search_string); |