Fix a glitch in search-in-separate-window.

This commit is contained in:
John Preston 2024-01-18 13:20:33 +04:00
parent abf9764640
commit 95d4e02ae1
1 changed files with 3 additions and 1 deletions

View File

@ -8207,7 +8207,9 @@ void HistoryWidget::paintEvent(QPaintEvent *e) {
|| replyTo()
|| readyToForward()
|| _kbShown) {
drawField(p, clip);
if (!isSearching()) {
drawField(p, clip);
}
}
} else {
const auto w = st::msgServiceFont->width(tr::lng_willbe_history(tr::now))