diff --git a/Source/AboutEditorForm.resx b/Source/AboutEditorForm.resx
index fa6a06a..2998ef9 100644
--- a/Source/AboutEditorForm.resx
+++ b/Source/AboutEditorForm.resx
@@ -136,7 +136,7 @@
1
- Version 1.2.1
+ Version 1.2.2
MiddleCenter
diff --git a/Source/MainUI.cs b/Source/MainUI.cs
index 201532a..bb89726 100644
--- a/Source/MainUI.cs
+++ b/Source/MainUI.cs
@@ -299,6 +299,7 @@ private void button3_Click(object sender, EventArgs e)
progressBar1.Visible = false;
if (!pathOpened)
canAlsoSave = true;
+ else canAlsoSave = false;
isTextChanged = true;
}
diff --git a/Source/TS4 STBL Editor.v12.suo b/Source/TS4 STBL Editor.v12.suo
index c402d19..d6ada36 100644
Binary files a/Source/TS4 STBL Editor.v12.suo and b/Source/TS4 STBL Editor.v12.suo differ
diff --git a/Source/Tools.cs b/Source/Tools.cs
index eaba542..7bbfd5c 100644
--- a/Source/Tools.cs
+++ b/Source/Tools.cs
@@ -494,7 +494,7 @@ public void XMLToDataGridView(ArrayList tempList, string xmlFilePath)
dc = new DataColumn(dataGridView1.Columns[1].HeaderText);
dataTable.Columns.Add(dc);
- for (int i = 0; i < textResourceID.Count; i++)
+ for (int i = 0; i < tempDataGridView.Rows.Count; i++)
{
dr = dataTable.NewRow();
dr[0] = "0x" + tempDataGridView.Rows[i].Cells[0].Value;