Merge pull request #47374 from timothyqiu/check-section
Check section existance before getting keys
This commit is contained in:
commit
6bb1eb8212
1 changed files with 4 additions and 0 deletions
|
@ -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…
Add table
Reference in a new issue