Use cmdRaw and cmdRawAt in ColorThemeWorker

This commit is contained in:
itayc0hen 2020-03-20 20:11:38 +02:00 committed by Itay Cohen
parent cccbf62ec0
commit 6bd0d78b73

View File

@ -167,9 +167,9 @@ QJsonDocument ColorThemeWorker::getTheme(const QString& themeName) const
QString curr = Config()->getColorTheme();
if (themeName != curr) {
Core()->cmd(QString("eco %1").arg(themeName));
Core()->cmdRaw(QString("eco %1").arg(themeName));
theme = Core()->cmdj("ecj").object().toVariantMap();
Core()->cmd(QString("eco %1").arg(curr));
Core()->cmdRaw(QString("eco %1").arg(curr));
} else {
theme = Core()->cmdj("ecj").object().toVariantMap();
}