From 152115bf2e3d4fa22d19bb5b26ff8006abefe129 Mon Sep 17 00:00:00 2001 From: John Preston Date: Sun, 23 Dec 2018 21:28:12 +0400 Subject: [PATCH] Disable multiline poll options. --- Telegram/SourceFiles/boxes/create_poll_box.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/Telegram/SourceFiles/boxes/create_poll_box.cpp b/Telegram/SourceFiles/boxes/create_poll_box.cpp index a16883ffb..f56ad8b39 100644 --- a/Telegram/SourceFiles/boxes/create_poll_box.cpp +++ b/Telegram/SourceFiles/boxes/create_poll_box.cpp @@ -160,7 +160,6 @@ Options::Option Options::Option::Create( object_ptr( container, st::createPollOptionField, - Ui::InputField::Mode::MultiLine, langFactory(lng_polls_create_option_add))); InitField(outer, field); field->setMaxLength(kOptionLimit + kErrorLimit);