Disable multiline poll options.

This commit is contained in:
John Preston 2018-12-23 21:28:12 +04:00
parent 8bd3051224
commit 152115bf2e

View File

@ -160,7 +160,6 @@ Options::Option Options::Option::Create(
object_ptr<Ui::InputField>(
container,
st::createPollOptionField,
Ui::InputField::Mode::MultiLine,
langFactory(lng_polls_create_option_add)));
InitField(outer, field);
field->setMaxLength(kOptionLimit + kErrorLimit);