mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-16 14:17:12 +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 {
|
||||
return !timezoneId.isEmpty();
|
||||
return !timezoneId.isEmpty() && !intervals.list.empty();
|
||||
}
|
||||
|
||||
friend inline bool operator==(
|
||||
|
|
Loading…
Add table
Reference in a new issue