diff --git a/win-linux/src/ccefeventstransformer.cpp b/win-linux/src/ccefeventstransformer.cpp index ae662429e..0392bdb00 100644 --- a/win-linux/src/ccefeventstransformer.cpp +++ b/win-linux/src/ccefeventstransformer.cpp @@ -211,7 +211,8 @@ void CCefEventsTransformer::OnEvent(QObject * target, NSEditorApi::CAscCefMenuEv // QMetaObject::invokeMethod( target, "onLocalFilesCheck", Qt::QueuedConnection, // Q_ARG(QString, QString::fromStdWString(pData->get_Param())) ); if ( cmd.compare(L"portal:uitheme") == 0 ) { - QMetaObject::invokeMethod(target, "onPortalUITheme", Qt::QueuedConnection, Q_ARG(std::wstring, pData->get_Param())); + QMetaObject::invokeMethod(target, "onPortalUITheme", Qt::QueuedConnection, + Q_ARG(int, event->get_SenderId()), Q_ARG(std::wstring, pData->get_Param())); } else if ( !(cmd.find(L"files:explore") == std::wstring::npos) ) { QMetaObject::invokeMethod( target, "onLocalFileLocation", Qt::QueuedConnection,