aboutsummaryrefslogtreecommitdiff
path: root/editor/plugins/script_editor_plugin.cpp
diff options
context:
space:
mode:
authorRémi Verschelde2017-07-02 12:31:08 +0200
committerRémi Verschelde2017-07-02 12:31:34 +0200
commit71f6c962884801371ce85caaebdf12fcac0f090d (patch)
tree380220c1a4d2366a6b50db8d9ee44ef720e36d28 /editor/plugins/script_editor_plugin.cpp
parent0ffb70f0bbfa14d9201b4349ac23911450b9d6b2 (diff)
downloadgodot-71f6c962884801371ce85caaebdf12fcac0f090d.tar.gz
godot-71f6c962884801371ce85caaebdf12fcac0f090d.tar.zst
godot-71f6c962884801371ce85caaebdf12fcac0f090d.zip
Diffstat (limited to 'editor/plugins/script_editor_plugin.cpp')
-rw-r--r--editor/plugins/script_editor_plugin.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/editor/plugins/script_editor_plugin.cpp b/editor/plugins/script_editor_plugin.cpp
index a7a3242ad..aedc96d20 100644
--- a/editor/plugins/script_editor_plugin.cpp
+++ b/editor/plugins/script_editor_plugin.cpp
@@ -1884,6 +1884,9 @@ void ScriptEditor::set_window_layout(Ref<ConfigFile> p_layout) {
for (int i = 0; i < helps.size(); i++) {
String path = helps[i];
+ if (path == "") { // invalid, skip
+ continue;
+ }
_help_class_open(path);
}