Fixed switching between accounts with filters at screen edge.

This commit is contained in:
23rd 2022-11-10 14:11:35 +03:00 committed by John Preston
parent efc0908ed8
commit 8f3c3b2a54
1 changed files with 6 additions and 0 deletions

View File

@ -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();
}