turn off rainbow color in the cpu info dialog.

This commit is contained in:
Roy Qu 2024-04-01 17:12:49 +08:00
parent 95fff8bea7
commit 6339b44d5f
1 changed files with 1 additions and 0 deletions

View File

@ -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) {