Script editor help: Prevent loading empty instances from layout
(cherry picked from commit 71f6c96288
)
This commit is contained in:
parent
026c580399
commit
47307453f7
|
@ -2317,6 +2317,9 @@ void ScriptEditor::set_window_layout(Ref<ConfigFile> p_layout) {
|
||||||
for (int i = 0; i < helps.size(); i++) {
|
for (int i = 0; i < helps.size(); i++) {
|
||||||
|
|
||||||
String path = helps[i];
|
String path = helps[i];
|
||||||
|
if (path == "") { // invalid, skip
|
||||||
|
continue;
|
||||||
|
}
|
||||||
_help_class_open(path);
|
_help_class_open(path);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue