- fix: "Encode in UTF-8" is not correctly checked, when the editor is openned using UTF-8 encoding.

This commit is contained in:
Roy Qu 2022-09-21 09:31:01 +08:00
parent 8474ae6b8f
commit 5ba802c0ee
4 changed files with 7 additions and 3 deletions

View File

@ -1,3 +1,7 @@
Red Panda C++ Version 1.4
- fix: "Encode in UTF-8" is not correctly checked, when the editor is openned using UTF-8 encoding.
Red Panda C++ Version 1.3
- enhancement: don't parse all openned files when start up

View File

@ -10,7 +10,7 @@ isEmpty(APP_NAME) {
}
isEmpty(APP_VERSION) {
APP_VERSION=1.3
APP_VERSION=1.4
}
macos: {

View File

@ -395,7 +395,7 @@ void MainWindow::updateForEncodingInfo(bool clear) {
ui->actionAuto_Detect->setChecked(editor->encodingOption() == ENCODING_AUTO_DETECT);
ui->actionEncode_in_ANSI->setChecked(editor->encodingOption() == ENCODING_SYSTEM_DEFAULT);
ui->actionEncode_in_UTF_8->setChecked(editor->encodingOption() == ENCODING_UTF8);
ui->actionEncode_in_UTF_8->setChecked(editor->encodingOption() == ENCODING_UTF8_BOM);
ui->actionEncode_in_UTF_8_BOM->setChecked(editor->encodingOption() == ENCODING_UTF8_BOM);
} else {
mFileEncodingStatus->setText("");
ui->actionAuto_Detect->setChecked(false);

View File

@ -23,7 +23,7 @@ SUBDIRS += \
APP_NAME = RedPandaCPP
APP_VERSION = 1.3
APP_VERSION = 1.4
linux: {
isEmpty(PREFIX) {