Skip to content

Commit

Permalink
fix NSgtdData bugs
Browse files Browse the repository at this point in the history
  • Loading branch information
Pumba98 committed Nov 3, 2019
1 parent 1a8e3d3 commit eaee2aa
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Source/MainWindow.h
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ Q_OBJECT
public:
explicit MainWindow(QWidget *parent = nullptr);
~MainWindow() override;
const QString VERSION = "v0.7";
const QString VERSION = "v0.7.1";
public slots:
void on_actionOpen_triggered();
void on_treeWidget_currentItemChanged(QTreeWidgetItem *current, QTreeWidgetItem *prev);
Expand Down
5 changes: 4 additions & 1 deletion Source/Ui/TreeItems/OnexTreeText.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -99,8 +99,11 @@ QString OnexTreeText::getEncoding() {
return "Windows-1250";
else if (region == "ru")
return "Windows-1251";
else if (region == "en" || region == "fr" || region == "es")
else if (region == "uk" || region == "fr" || region == "es")
return "Windows-1252";
else if (region == "tr")
return "Windows-1254";
else if (region == "hk" || region == "tw")
return "Big5";
return "Windows-1250";
}

0 comments on commit eaee2aa

Please sign in to comment.