From 6339b44d5fcc472576f645c8f3f15d36c890a37c Mon Sep 17 00:00:00 2001 From: Roy Qu Date: Mon, 1 Apr 2024 17:12:49 +0800 Subject: [PATCH] turn off rainbow color in the cpu info dialog. --- RedPandaIDE/widgets/cpudialog.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/RedPandaIDE/widgets/cpudialog.cpp b/RedPandaIDE/widgets/cpudialog.cpp index f8506185..94d9d076 100644 --- a/RedPandaIDE/widgets/cpudialog.cpp +++ b/RedPandaIDE/widgets/cpudialog.cpp @@ -46,6 +46,7 @@ CPUDialog::CPUDialog(QWidget *parent) : QSynedit::EditorOptions options=ui->txtCode->getOptions(); options.setFlag(QSynedit::EditorOption::eoScrollPastEof,false); options.setFlag(QSynedit::EditorOption::eoScrollPastEol,false); + options.setFlag(QSynedit::EditorOption::eoShowRainbowColor, false); ui->txtCode->setOptions(options); PColorSchemeItem item = pColorManager->getItem(pSettings->editor().colorScheme(),COLOR_SCHEME_ACTIVE_LINE); if (item) {