Use cmdRaw and cmdRawAt in ColorThemeEditDialog

This commit is contained in:
itayc0hen 2020-03-20 20:12:56 +02:00 committed by Itay Cohen
parent a47dcb26f9
commit 1f41983923

View File

@ -134,7 +134,7 @@ void ColorThemeEditDialog::colorOptionChanged(const QColor& newColor)
Config()->setColor(currOption.optionName, currOption.color); Config()->setColor(currOption.optionName, currOption.color);
if (!ColorThemeWorker::cutterSpecificOptions.contains(currOption.optionName)) { if (!ColorThemeWorker::cutterSpecificOptions.contains(currOption.optionName)) {
Core()->cmd(QString("ec %1 %2").arg(currOption.optionName).arg(currOption.color.name())); Core()->cmdRaw(QString("ec %1 %2").arg(currOption.optionName).arg(currOption.color.name()));
} }
previewDisasmWidget->colorsUpdatedSlot(); previewDisasmWidget->colorsUpdatedSlot();
} }