Merge pull request '[win] fix bug 78050' (#530) from feature/for-bug-78050 into release/v9.2.0

Reviewed-on: https://git.onlyoffice.com/ONLYOFFICE/desktop-apps/pulls/530
This commit is contained in:
Oleg Korshul
2025-11-24 10:25:03 +00:00

View File

@ -2082,7 +2082,8 @@ void CAscApplicationManagerWrapper::applyTheme(const wstring& theme, bool force)
_editor->applyTheme(theme);
}
QJsonObject _json_obj{{"theme", _app.m_themes->current().json()}};
// QJsonObject _json_obj{{"theme", _app.m_themes->current().json()}};
QJsonObject _json_obj{{"theme", QString::fromStdWString(_app.m_themes->current().id())}}; // for bug 78050. send only theme id
AscAppManager::getInstance().UpdatePlugins(Utils::stringifyJson(_json_obj).toStdWString());
AscAppManager::sendCommandTo(SEND_TO_ALL_START_PAGE, L"uitheme:changed", theme);
}