- fix: project options -> compiler set -> static link & auto convert charset options not correctly loaded.

This commit is contained in:
Roy Qu 2024-04-14 21:24:21 +08:00
parent 081d37e21f
commit 5a7589aeb1
2 changed files with 4 additions and 3 deletions

View File

@ -142,7 +142,8 @@ Red Panda C++ Version 2.27
- fix: Positions of current matching parenthesis not correctly updated. - fix: Positions of current matching parenthesis not correctly updated.
- fix: Can't show correct completion info for vars declared with template parameters ending with ">>". - fix: Can't show correct completion info for vars declared with template parameters ending with ">>".
- enhancement: Auto type induction for "std::make_shared"/"std::make_unique". - enhancement: Auto type induction for "std::make_shared"/"std::make_unique".
- sdcc project compiler: compile source file in subfolders. - enhancement: sdcc project compiler: compile source file in subfolders.
- fix: project options -> compiler set -> static link & auto convert charset options not correctly loaded.
Red Panda C++ Version 2.26 Red Panda C++ Version 2.26
- enhancement: Code suggestion for embedded std::vectors. - enhancement: Code suggestion for embedded std::vectors.

View File

@ -44,8 +44,8 @@ void ProjectCompilerWidget::refreshOptions()
ui->tabOptions->resetUI(pSet,mOptions); ui->tabOptions->resetUI(pSet,mOptions);
ui->chkStaticLink->setChecked(pSet->staticLink()); ui->chkStaticLink->setChecked(pMainWindow->project()->options().staticLink);
ui->chkAddCharset->setChecked(pSet->autoAddCharsetParams()); ui->chkAddCharset->setChecked(pMainWindow->project()->options().addCharset);
QByteArray execEncoding = pMainWindow->project()->options().execEncoding; QByteArray execEncoding = pMainWindow->project()->options().execEncoding;
if (execEncoding == ENCODING_AUTO_DETECT if (execEncoding == ENCODING_AUTO_DETECT