not sending typing when edit post is finished

This commit is contained in:
John Preston 2016-03-13 16:25:19 +03:00
parent 6792f9c77b
commit b09aa49749
1 changed files with 4 additions and 0 deletions

View File

@ -7228,7 +7228,11 @@ void HistoryWidget::cancelEdit() {
updateMouseTracking();
}
int32 old = _textUpdateEventsFlags;
_textUpdateEventsFlags = 0;
onTextChange();
_textUpdateEventsFlags = old;
updateBotKeyboard();
updateFieldPlaceholder();