diff --git a/Telegram/SourceFiles/window/main_window.cpp b/Telegram/SourceFiles/window/main_window.cpp index e3dd7554e2..3187b19283 100644 --- a/Telegram/SourceFiles/window/main_window.cpp +++ b/Telegram/SourceFiles/window/main_window.cpp @@ -587,12 +587,6 @@ void MainWindow::updateMinimumSize() { void MainWindow::recountGeometryConstraints() { updateMinimumSize(); - { - // Resizing to a new minimum size (larger than before) - // may cause the window to go out of bounds. - savePosition(Qt::WindowActive); - setGeometry(countInitialGeometry(positionFromSettings())); - } updateControlsGeometry(); fixOrder(); }