Check section existance before getting keys

(cherry picked from commit 40d6a25ef5)
This commit is contained in:
Haoyu Qiu 2021-03-26 10:05:25 +08:00 committed by Rémi Verschelde
parent e0d261be00
commit be18262888
No known key found for this signature in database
GPG key ID: C3336907360768E1

View file

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