2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-09-01 06:55:58 +00:00

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

View File

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