Fix creating a theme from a default one.

Regression was introduced in 79cc797aff.
This commit is contained in:
John Preston 2021-08-18 14:52:57 +03:00
parent 02f48a7781
commit 36486a3d73
1 changed files with 1 additions and 0 deletions

View File

@ -164,6 +164,7 @@ bool isValidColorValue(QLatin1String value) {
skipWhitespacesAndComments(data, end);
if (data == end) break;
[[maybe_unused]] auto foundName = base::parse::readName(data, end);
skipWhitespacesAndComments(data, end);
if (data == end || *data != ':') {
return "error";