mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-16 14:17:12 +02:00
Fixed switching between accounts with filters at screen edge.
This commit is contained in:
parent
efc0908ed8
commit
8f3c3b2a54
1 changed files with 6 additions and 0 deletions
|
@ -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();
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue