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

View file

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