mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-06-05 06:33:57 +02:00
Fix saving of empty working intervals.
This commit is contained in:
parent
d3b1abb61e
commit
506b8fd4f1
1 changed files with 1 additions and 1 deletions
|
@ -139,7 +139,7 @@ struct WorkingHours {
|
||||||
}
|
}
|
||||||
|
|
||||||
explicit operator bool() const {
|
explicit operator bool() const {
|
||||||
return !timezoneId.isEmpty();
|
return !timezoneId.isEmpty() && !intervals.list.empty();
|
||||||
}
|
}
|
||||||
|
|
||||||
friend inline bool operator==(
|
friend inline bool operator==(
|
||||||
|
|
Loading…
Add table
Reference in a new issue