From 16d06527bec2cefce4b426a17e4eed115368ae17 Mon Sep 17 00:00:00 2001 From: 23rd <23rd@vivaldi.net> Date: Wed, 6 Nov 2019 11:05:40 +0300 Subject: [PATCH] Updated lib_spellcheck. - Fixed #6756. --- Telegram/SourceFiles/chat_helpers/message_field.cpp | 5 ++--- Telegram/lib_spellcheck | 2 +- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/Telegram/SourceFiles/chat_helpers/message_field.cpp b/Telegram/SourceFiles/chat_helpers/message_field.cpp index 8895b0ee4..f6ae4593f 100644 --- a/Telegram/SourceFiles/chat_helpers/message_field.cpp +++ b/Telegram/SourceFiles/chat_helpers/message_field.cpp @@ -279,9 +279,8 @@ void InitSpellchecker( not_null field) { #ifndef TDESKTOP_DISABLE_SPELLCHECK const auto s = Ui::CreateChild( - field->rawTextEdit().get(), - session->settings().spellcheckerEnabledValue(), - field->documentContentsChanges()); + field.get(), + session->settings().spellcheckerEnabledValue()); Spellchecker::SetPhrases({ { { &ph::lng_spellchecker_add, tr::lng_spellchecker_add() }, { &ph::lng_spellchecker_remove, tr::lng_spellchecker_remove() }, diff --git a/Telegram/lib_spellcheck b/Telegram/lib_spellcheck index 9c353d1ab..0269666de 160000 --- a/Telegram/lib_spellcheck +++ b/Telegram/lib_spellcheck @@ -1 +1 @@ -Subproject commit 9c353d1abbcc022c4f362a161216a2f1d65ab85d +Subproject commit 0269666dea57837f56f0eca965fc1f1a61bb9e27