summaryrefslogtreecommitdiffstats
path: root/editor/plugins/script_editor_plugin.cpp
diff options
context:
space:
mode:
authorGoral <pgoral@gmail.com>2019-05-08 18:49:49 +0200
committerGoral <pgoral@gmail.com>2019-05-29 22:27:16 +0200
commitaabd9980d17492224c6c221077fbae305d80cb0b (patch)
tree142b84e0dda2715fbe525cc85d87eef4b6b04d39 /editor/plugins/script_editor_plugin.cpp
parentb96cd577c3022c8431c7911b24c9d294c7f9c8d9 (diff)
downloadredot-engine-aabd9980d17492224c6c221077fbae305d80cb0b.tar.gz
Changing method signature in other class in not recognized in working class in typed GDScript #28685
Diffstat (limited to 'editor/plugins/script_editor_plugin.cpp')
-rw-r--r--editor/plugins/script_editor_plugin.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/editor/plugins/script_editor_plugin.cpp b/editor/plugins/script_editor_plugin.cpp
index 92579e5cef..a774abf247 100644
--- a/editor/plugins/script_editor_plugin.cpp
+++ b/editor/plugins/script_editor_plugin.cpp
@@ -429,6 +429,8 @@ void ScriptEditor::_go_to_tab(int p_idx) {
if (script != NULL) {
notify_script_changed(script);
}
+
+ Object::cast_to<ScriptEditorBase>(c)->validate();
}
if (Object::cast_to<EditorHelp>(c)) {