Fix saving of empty working intervals.

This commit is contained in:
John Preston 2024-03-09 10:56:58 +04:00
parent d3b1abb61e
commit 506b8fd4f1
1 changed files with 1 additions and 1 deletions

View File

@ -139,7 +139,7 @@ struct WorkingHours {
}
explicit operator bool() const {
return !timezoneId.isEmpty();
return !timezoneId.isEmpty() && !intervals.list.empty();
}
friend inline bool operator==(