mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-06-05 06:33:57 +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)
|
std::make_unique<Window::Controller>(peer, showAtMsgId)
|
||||||
).first->second.get();
|
).first->second.get();
|
||||||
processCreatedWindow(result);
|
processCreatedWindow(result);
|
||||||
result->widget()->show();
|
result->firstShow();
|
||||||
result->finishFirstShow();
|
result->finishFirstShow();
|
||||||
return activate(result);
|
return activate(result);
|
||||||
}
|
}
|
||||||
|
@ -1341,7 +1341,7 @@ Window::Controller *Application::ensureSeparateWindowForAccount(
|
||||||
std::make_unique<Window::Controller>(account)
|
std::make_unique<Window::Controller>(account)
|
||||||
).first->second.get();
|
).first->second.get();
|
||||||
processCreatedWindow(result);
|
processCreatedWindow(result);
|
||||||
result->widget()->show();
|
result->firstShow();
|
||||||
result->finishFirstShow();
|
result->finishFirstShow();
|
||||||
return activate(result);
|
return activate(result);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue