mirror of
https://github.com/ONLYOFFICE/desktop-apps.git
synced 2026-02-10 18:05:16 +08:00
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:
@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user