Script editor help: Prevent loading empty instances from layout
This commit is contained in:
parent
0ffb70f0bb
commit
71f6c96288
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user