summaryrefslogtreecommitdiff
path: root/editor/plugins/script_editor_plugin.cpp
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2019-06-17 23:13:08 +0200
committerGitHub <noreply@github.com>2019-06-17 23:13:08 +0200
commit0ac3687d6fe3bfa90f5cfbdf7c28752de1b627f0 (patch)
tree22022175ddffa8140b268feae8ed4648223a7482 /editor/plugins/script_editor_plugin.cpp
parentd8d7222ffbb9732f09803dae476f93c48605b4bd (diff)
parentaabd9980d17492224c6c221077fbae305d80cb0b (diff)
Merge pull request #28766 from pgoral/editor_validation_issue
Changing method signature in other class in not recognized in working…
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 1610e5d3d7..df9ce73914 100644
--- a/editor/plugins/script_editor_plugin.cpp
+++ b/editor/plugins/script_editor_plugin.cpp
@@ -437,6 +437,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)) {