From 04ab06ee50bf4fdfd901a1d5e5e6b766ce0309ae Mon Sep 17 00:00:00 2001 From: maxkadushkin Date: Mon, 24 Nov 2025 13:21:31 +0300 Subject: [PATCH] [win] fix bug 78050 --- win-linux/src/cascapplicationmanagerwrapper.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/win-linux/src/cascapplicationmanagerwrapper.cpp b/win-linux/src/cascapplicationmanagerwrapper.cpp index 29dda295f..eaa688864 100644 --- a/win-linux/src/cascapplicationmanagerwrapper.cpp +++ b/win-linux/src/cascapplicationmanagerwrapper.cpp @@ -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); }