Fix scheduling messages without sound.
This commit is contained in:
parent
8f0e23bb25
commit
8d85dd7c19
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue