mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2026-07-25 06:54:43 +00:00
Attempted to fix reset state while replying with Ctrl+Up/Down hotkey.
The previous fix:e672041a79. Regression was introduced:a05d85673a.
This commit is contained in:
@@ -9035,9 +9035,6 @@ bool HistoryWidget::cancelReply(
|
||||
_fieldBarCancel->hide();
|
||||
updateMouseTracking();
|
||||
}
|
||||
if (!keepHighlighterState) {
|
||||
_highlighter.clear();
|
||||
}
|
||||
updateBotKeyboard();
|
||||
refreshTopBarActiveChat();
|
||||
updateCanSendMessage();
|
||||
@@ -9065,6 +9062,9 @@ bool HistoryWidget::cancelReply(
|
||||
toggleKeyboard(false);
|
||||
}
|
||||
}
|
||||
if (!keepHighlighterState) {
|
||||
_highlighter.clear();
|
||||
}
|
||||
return wasReply;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user