Fix missing settings fail.
This commit is contained in:

committed by
Brenden Matthews

parent
c28ad36c4c
commit
ffd34a4fc0
@@ -121,8 +121,10 @@ settings_vector make_settings_vector() {
|
||||
// fill the vec with the settings which are ordered, then we add the remainder
|
||||
// in.
|
||||
for (auto &name : settings_ordering) {
|
||||
auto setting = settings->at(name);
|
||||
ret.push_back(setting);
|
||||
if (settings->count(name) > 0) {
|
||||
auto setting = settings->at(name);
|
||||
ret.push_back(setting);
|
||||
}
|
||||
}
|
||||
for (auto &setting : *settings) {
|
||||
if (std::find(settings_ordering.begin(), settings_ordering.end(),
|
||||
|
Reference in New Issue
Block a user