Skip to content

Commit

Permalink
Fix bug 64568
Browse files Browse the repository at this point in the history
  • Loading branch information
K0R0L committed Oct 17, 2023
1 parent 22a09eb commit 40cc43a
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions win-linux/src/windows/cmainwindow.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1190,8 +1190,9 @@ void CMainWindow::onFullScreen(int id, bool apply)
m_isMaximized = windowState().testFlag(Qt::WindowMaximized);
m_pTabs->setFullScreen(apply, id);
QTimer::singleShot(0, this, [=] {
CAscMenuEvent * pEvent = new CAscMenuEvent(ASC_MENU_EVENT_TYPE_CEF_ONFULLSCREENENTER);
AscAppManager::getInstance().GetViewById(id)->Apply(pEvent);
CCefView* pView = AscAppManager::getInstance().GetViewById(id);
if (pView)
pView->Apply(new CAscMenuEvent(ASC_MENU_EVENT_TYPE_CEF_ONFULLSCREENENTER));
});
}
} else
Expand Down

0 comments on commit 40cc43a

Please sign in to comment.