diff --git a/src/common/platform/platform_mainwindow.cpp b/src/common/platform/platform_mainwindow.cpp index 831bf6d9..db868134 100644 --- a/src/common/platform/platform_mainwindow.cpp +++ b/src/common/platform/platform_mainwindow.cpp @@ -3916,6 +3916,11 @@ void Platform_MainWindow::contextMenuEvent(QContextMenuEvent *pEvent) resumeToolsWindow(); QTimer::singleShot(0, [ = ]() { qApp->restoreOverrideCursor(); + QList lstAct = ActionFactory::get().findActionsByKind(ActionFactory::ActionKind::ToggleFullscreen); + if(!lstAct.isEmpty()) { + QAction *pAct = lstAct.first(); + if(pAct) pAct->setChecked(isFullScreen()); + } ActionFactory::get().mainContextMenu()->popup(QCursor::pos()); }); pEvent->accept();