mirror of
https://github.com/rizinorg/cutter.git
synced 2024-12-18 19:06:10 +00:00
Use cmdRaw and cmdRawAt in ColorThemeWorker
This commit is contained in:
parent
cccbf62ec0
commit
6bd0d78b73
@ -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();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user