You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-10 13:00:37 +00:00
Script editor help: Prevent loading empty instances from layout
This commit is contained in:
@@ -1884,6 +1884,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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user