mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-14 13:17:08 +02:00
Fix initial geometry for secondary windows.
This commit is contained in:
parent
814de17f28
commit
37478d951a
1 changed files with 2 additions and 2 deletions
|
@ -1321,7 +1321,7 @@ Window::Controller *Application::ensureSeparateWindowForPeer(
|
|||
std::make_unique<Window::Controller>(peer, showAtMsgId)
|
||||
).first->second.get();
|
||||
processCreatedWindow(result);
|
||||
result->widget()->show();
|
||||
result->firstShow();
|
||||
result->finishFirstShow();
|
||||
return activate(result);
|
||||
}
|
||||
|
@ -1341,7 +1341,7 @@ Window::Controller *Application::ensureSeparateWindowForAccount(
|
|||
std::make_unique<Window::Controller>(account)
|
||||
).first->second.get();
|
||||
processCreatedWindow(result);
|
||||
result->widget()->show();
|
||||
result->firstShow();
|
||||
result->finishFirstShow();
|
||||
return activate(result);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue