Merge pull request #47374 from timothyqiu/check-section

Check section existance before getting keys
This commit is contained in:
Rémi Verschelde 2021-03-26 09:20:36 +01:00 committed by GitHub
commit 6bb1eb8212
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -194,6 +194,10 @@ void ImportDock::set_edit_multiple_paths(const Vector<String> &p_paths) {
}
}
if (!config->has_section("params")) {
continue;
}
List<String> keys;
config->get_section_keys("params", &keys);