- fix: code format indent settings not correctly saved

This commit is contained in:
royqh1979@gmail.com 2021-11-23 13:29:00 +08:00
parent 614fc911b1
commit cfe370e252
3 changed files with 5 additions and 2 deletions

View File

@ -1,3 +1,6 @@
Version 0.9.4 For Dev-C++ 7 Beta
- fix: code format indent settings not correctly saved
Version 0.9.3 For Dev-C++ 7 Beta
- fix: the count in the title of issues view isn't correct
- fix: columns calculation not correct when paint lines containing chinese characters

View File

@ -317,7 +317,7 @@ void FormatterGeneralWidget::updateCodeFormatter(Settings::CodeFormatter &format
PFormatterStyleItem item = mStylesModel.getStyle(ui->cbBraceStyle->currentIndex());
if (item)
format.setBraceStyle(item->style);
if (ui->rbIndentSpaces) {
if (ui->rbIndentSpaces->isChecked()) {
format.setIndentStyle(FormatterIndentType::fitSpace);
} else {
format.setIndentStyle(FormatterIndentType::fitTab);

View File

@ -2,6 +2,6 @@
#define VERSION_H
#include <QObject>
#define DEVCPP_VERSION "beta.0.9.3"
#define DEVCPP_VERSION "beta.0.9.4"
#endif // VERSION_H