mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-06-05 06:33:57 +02:00
Fix creating a theme from a default one.
Regression was introduced in 79cc797aff
.
This commit is contained in:
parent
02f48a7781
commit
36486a3d73
1 changed files with 1 additions and 0 deletions
|
@ -164,6 +164,7 @@ bool isValidColorValue(QLatin1String value) {
|
||||||
skipWhitespacesAndComments(data, end);
|
skipWhitespacesAndComments(data, end);
|
||||||
if (data == end) break;
|
if (data == end) break;
|
||||||
|
|
||||||
|
[[maybe_unused]] auto foundName = base::parse::readName(data, end);
|
||||||
skipWhitespacesAndComments(data, end);
|
skipWhitespacesAndComments(data, end);
|
||||||
if (data == end || *data != ':') {
|
if (data == end || *data != ':') {
|
||||||
return "error";
|
return "error";
|
||||||
|
|
Loading…
Add table
Reference in a new issue