diff --git a/Telegram/SourceFiles/historywidget.cpp b/Telegram/SourceFiles/historywidget.cpp index 4d5dc0db9..1a6e8e947 100644 --- a/Telegram/SourceFiles/historywidget.cpp +++ b/Telegram/SourceFiles/historywidget.cpp @@ -7228,7 +7228,11 @@ void HistoryWidget::cancelEdit() { updateMouseTracking(); } + int32 old = _textUpdateEventsFlags; + _textUpdateEventsFlags = 0; onTextChange(); + _textUpdateEventsFlags = old; + updateBotKeyboard(); updateFieldPlaceholder();