mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-29 13:39:06 +00:00
Revert "Fixed switching between accounts with filters at screen edge."
This reverts commit 8f3c3b2a54dc67ee803ce4de1472305465f6a109. Regressions with account switch in a maximized window.
This commit is contained in:
parent
1aece79a47
commit
ae90347c6c
@ -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();
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user