Skip to content

Commit

Permalink
Don't stop style parsing on unknown property (#10143)
Browse files Browse the repository at this point in the history
  • Loading branch information
v-rob committed Jul 3, 2020
1 parent 3f702fa commit da71313
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/gui/guiFormSpecMenu.cpp
Expand Up @@ -2562,7 +2562,7 @@ bool GUIFormSpecMenu::parseStyle(parserData *data, const std::string &element, b
<< "'" << std::endl;
property_warned.insert(propname);
}
return false;
continue;
}

spec.set(prop, value);
Expand Down Expand Up @@ -2603,7 +2603,7 @@ bool GUIFormSpecMenu::parseStyle(parserData *data, const std::string &element, b
}
}

if(!state_valid) {
if (!state_valid) {
// Skip this selector
continue;
}
Expand Down

0 comments on commit da71313

Please sign in to comment.