mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2026-07-25 06:54:43 +00:00
Fix parsing checklist pasting of multiline.
This commit is contained in:
@@ -296,7 +296,10 @@ Tasks::Task::Task(
|
||||
tr::lng_todo_create_list_add()))
|
||||
, _limit(session->appConfig().todoListItemTextLimit()) {
|
||||
InitField(outer, _field, session);
|
||||
_field->setMaxLength(_limit + kErrorLimit);
|
||||
|
||||
// Don't limit max length, because user can paste long list of items.
|
||||
//_field->setMaxLength(_limit + kErrorLimit);
|
||||
|
||||
_field->show();
|
||||
if (locked) {
|
||||
_field->setDisabled(true);
|
||||
|
||||
Reference in New Issue
Block a user