From 2637dc238e38d1befc759f5e3b74a8bb0d287f37 Mon Sep 17 00:00:00 2001 From: cnbatch Date: Fri, 10 Oct 2014 14:41:54 +0800 Subject: [PATCH] version 1.2.1 fix a bug of XML importing --- Source/AboutEditorForm.resx | 2 +- Source/MainUI.cs | 1 + Source/TS4 STBL Editor.v12.suo | Bin 80896 -> 87040 bytes Source/Tools.cs | 2 +- 4 files changed, 3 insertions(+), 2 deletions(-) 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 c402d199d06cb1311b750f18681b1ee9cab5e4e3..d6ada36dcd3c813b2701b0bfeadd5e836fd929f4 100644 GIT binary patch delta 1946 zcmd6nUrbw79LMkP^m1u|AqA`qaIy`74N7iHTcA|Ns!K3S7O&zoirEH;6LmWNjJY|e zh&Y8U(3|WU<0c%DvBj9tYtom6kcFqYXtS8b!~~=6!AE8mLl#HB-g?m>Ofll#f< z+jD;RcYf!aa~oQcL(?gvs zOq8pW{6K$tGIcZJMqmRQz*dk7(trb?TKv9bEI`ZzCE)(#TneHcoC1B|u6O}s2zo`u z_xQ$tTCO9Ln0x|a} z;;y9LKc>C1tu^^WEVi%HFR#-b(1*vgf^-$i&^1}s369A_qSl}Uhc0tFWkKV*1IpG&DuZPjEf+x+MEq7ToxPu zKVA0x6PL{;n^op{jAzNbl5w}p^I6!}O)j&?H%yVjZlYej=fPoK#JGd;Viu{nNgI9H zi;h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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;