Skip to content
Permalink
Browse files

Don't stop style parsing on unknown property (#10143)

  • Loading branch information
v-rob committed Jul 3, 2020
1 parent 3f702fa commit da71313e1df3326c2b9ddb410b963ec25682319e
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/gui/guiFormSpecMenu.cpp
@@ -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);
@@ -2603,7 +2603,7 @@ bool GUIFormSpecMenu::parseStyle(parserData *data, const std::string &element, b
}
}

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

0 comments on commit da71313

Please sign in to comment.
You can’t perform that action at this time.