Fix assertion violation in poll create box.

This commit is contained in:
John Preston 2020-01-23 15:36:53 +03:00
parent 7170808d2b
commit ed8b237364

View File

@ -660,7 +660,7 @@ void Options::addEmptyOption() {
});
_list.back()->removeClicks(
) | rpl::start_with_next([=] {
) | rpl::take(1) | rpl::start_with_next([=] {
Ui::PostponeCall(crl::guard(field, [=] {
Expects(!_list.empty());