Fix scheduling messages without sound.

This commit is contained in:
John Preston 2021-01-29 18:05:13 +04:00
parent 8f0e23bb25
commit 8d85dd7c19
1 changed files with 1 additions and 0 deletions

View File

@ -694,6 +694,7 @@ ChooseDateTimeBoxDescriptor ChooseDateTimeBox(
auto result = ChooseDateTimeBoxDescriptor();
box->setFocusCallback([=] { timeInput->setFocusFast(); });
result.submit = box->addButton(std::move(submit), save);
result.collect = collect;
box->addButton(tr::lng_cancel(), [=] { box->closeBox(); });
return result;