Skip to content

Commit da71313

Browse files
authoredJul 3, 2020
Don't stop style parsing on unknown property (#10143)
1 parent 3f702fa commit da71313

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
 

Diff for: ‎src/gui/guiFormSpecMenu.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -2562,7 +2562,7 @@ bool GUIFormSpecMenu::parseStyle(parserData *data, const std::string &element, b
25622562
<< "'" << std::endl;
25632563
property_warned.insert(propname);
25642564
}
2565-
return false;
2565+
continue;
25662566
}
25672567

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

2606-
if(!state_valid) {
2606+
if (!state_valid) {
26072607
// Skip this selector
26082608
continue;
26092609
}

0 commit comments

Comments
 (0)
Please sign in to comment.