From 9a9e30c88bfbfe2098be76e47d2029f79236474d Mon Sep 17 00:00:00 2001 From: John Preston Date: Mon, 7 Oct 2024 13:35:34 +0400 Subject: [PATCH] Fix commands list show after scheduled visit. --- Telegram/SourceFiles/history/history_widget.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Telegram/SourceFiles/history/history_widget.cpp b/Telegram/SourceFiles/history/history_widget.cpp index 42e09dbee5..56c61b71ba 100644 --- a/Telegram/SourceFiles/history/history_widget.cpp +++ b/Telegram/SourceFiles/history/history_widget.cpp @@ -6251,7 +6251,8 @@ void HistoryWidget::updateHistoryGeometry( if (!initial) { visibleAreaUpdated(); } - + } + if (needResize || initial) { if (_autocomplete) { _autocomplete->setBoundings(_scroll->geometry()); }