Script editor help: Prevent loading empty instances from layout

This commit is contained in:
Rémi Verschelde 2017-07-02 12:31:08 +02:00
parent 0ffb70f0bb
commit 71f6c96288

View File

@ -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);
}