mirror of https://github.com/procxx/kepka.git
Disable multiline poll options.
This commit is contained in:
parent
8bd3051224
commit
152115bf2e
|
@ -160,7 +160,6 @@ Options::Option Options::Option::Create(
|
||||||
object_ptr<Ui::InputField>(
|
object_ptr<Ui::InputField>(
|
||||||
container,
|
container,
|
||||||
st::createPollOptionField,
|
st::createPollOptionField,
|
||||||
Ui::InputField::Mode::MultiLine,
|
|
||||||
langFactory(lng_polls_create_option_add)));
|
langFactory(lng_polls_create_option_add)));
|
||||||
InitField(outer, field);
|
InitField(outer, field);
|
||||||
field->setMaxLength(kOptionLimit + kErrorLimit);
|
field->setMaxLength(kOptionLimit + kErrorLimit);
|
||||||
|
|
Loading…
Reference in New Issue