diff --git a/Telegram/SourceFiles/core/application.cpp b/Telegram/SourceFiles/core/application.cpp index 998793df3..3ed87c893 100644 --- a/Telegram/SourceFiles/core/application.cpp +++ b/Telegram/SourceFiles/core/application.cpp @@ -1321,7 +1321,7 @@ Window::Controller *Application::ensureSeparateWindowForPeer( std::make_unique(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(account) ).first->second.get(); processCreatedWindow(result); - result->widget()->show(); + result->firstShow(); result->finishFirstShow(); return activate(result); }