Check section existance before getting keys
(cherry picked from commit 40d6a25ef5
)
This commit is contained in:
parent
e0d261be00
commit
be18262888
|
@ -193,6 +193,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