Skip to content

Commit

Permalink
Merge branch release/v7.5.0 into master
Browse files Browse the repository at this point in the history
  • Loading branch information
papacarlo committed Oct 19, 2023
2 parents 7a2015a + 40cc43a commit 7bc7381
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 7bc7381

Please sign in to comment.