From 31c994ae4c58ce456a72eac9d4b5cebfed174979 Mon Sep 17 00:00:00 2001 From: itayc0hen Date: Fri, 20 Mar 2020 20:13:24 +0200 Subject: [PATCH] Use cmdRaw and cmdRawAt in ColorThemeListView --- src/widgets/ColorThemeListView.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/widgets/ColorThemeListView.cpp b/src/widgets/ColorThemeListView.cpp index d9ef0e2f..d79b7eb5 100644 --- a/src/widgets/ColorThemeListView.cpp +++ b/src/widgets/ColorThemeListView.cpp @@ -241,7 +241,7 @@ void ColorThemeListView::currentChanged(const QModelIndex ¤t, ColorOption prev = previous.data(Qt::UserRole).value(); Config()->setColor(prev.optionName, prev.color); if (ThemeWorker().radare2SpecificOptions.contains(prev.optionName)) { - Core()->cmd(QString("ec %1 %2").arg(prev.optionName).arg(prev.color.name())); + Core()->cmdRaw(QString("ec %1 %2").arg(prev.optionName).arg(prev.color.name())); } QListView::currentChanged(current, previous); @@ -302,7 +302,7 @@ void ColorThemeListView::blinkTimeout() auto updateColor = [](const QString &name, const QColor &color) { Config()->setColor(name, color); if (ThemeWorker().radare2SpecificOptions.contains(name)) { - Core()->cmd(QString("ec %1 %2").arg(name).arg(color.name())); + Core()->cmdRaw(QString("ec %1 %2").arg(name).arg(color.name())); } };