mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-31 14:38:15 +00:00
Fixed switching between accounts with filters at screen edge.
This commit is contained in:
@@ -587,6 +587,12 @@ 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();
|
||||
}
|
||||
|
Reference in New Issue
Block a user