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
1 changed files with 4 additions and 0 deletions

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