diff --git a/Telegram/SourceFiles/window/main_window.cpp b/Telegram/SourceFiles/window/main_window.cpp index 650892711..f3af455df 100644 --- a/Telegram/SourceFiles/window/main_window.cpp +++ b/Telegram/SourceFiles/window/main_window.cpp @@ -941,7 +941,7 @@ void MainWindow::showRightColumn(object_ptr widget) { const auto nowMinimumWidth = computeMinWidth(); const auto firstResize = (nowMinimumWidth < wasMinimumWidth); if (firstResize) { - setMinimumWidth(nowMinimumWidth); + updateMinimumSize(); } if (!isMaximized()) { tryToExtendWidthBy(wasWidth + nowRightWidth - wasRightWidth - width()); @@ -949,7 +949,7 @@ void MainWindow::showRightColumn(object_ptr widget) { updateControlsGeometry(); } if (!firstResize) { - setMinimumWidth(nowMinimumWidth); + updateMinimumSize(); } }