Merge pull request #47374 from timothyqiu/check-section
Check section existance before getting keys
This commit is contained in:
commit
6bb1eb8212
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user