Fix stuck inline mode.

Regression was introduced in 017ec87d60.

Fixes #5503.
This commit is contained in:
John Preston 2018-12-23 20:57:34 +04:00
parent e397f72eb2
commit aa94ca6619

View File

@ -3854,7 +3854,7 @@ void HistoryWidget::updateFieldSize() {
}
void HistoryWidget::clearInlineBot() {
if (_inlineBot) {
if (_inlineBot || _inlineLookingUpBot) {
_inlineBot = nullptr;
_inlineLookingUpBot = false;
inlineBotChanged();