Commit 6fa567a1 authored by DailyShana's avatar DailyShana

2.3.1.2

parent 463a6a71
...@@ -1097,10 +1097,13 @@ public void SaveCards(Card[] cards) ...@@ -1097,10 +1097,13 @@ public void SaveCards(Card[] cards)
{ {
undo += DataBase.GetDeleteSQL(c); undo += DataBase.GetDeleteSQL(c);
} }
if (oldcards != null && oldcards.Length != 0)
{
foreach (Card c in oldcards) foreach (Card c in oldcards)
{ {
undo += DataBase.GetInsertSQL(c, !replace); undo += DataBase.GetInsertSQL(c, !replace);
} }
}
cardedit.undoSQL.Add(undo); cardedit.undoSQL.Add(undo);
cardedit.undoModified.Add(new CardEdit.FileModified()); cardedit.undoModified.Add(new CardEdit.FileModified());
cardedit.undoDeleted.Add(new CardEdit.FileDeleted()); cardedit.undoDeleted.Add(new CardEdit.FileDeleted());
......
...@@ -92,8 +92,6 @@ public enum LMSG : uint ...@@ -92,8 +92,6 @@ public enum LMSG : uint
ReadMSEisOK = 0x48, ReadMSEisOK = 0x48,
PlzRestart = 0x49, PlzRestart = 0x49,
IfDeleteFiles =0x4c,
COUNT, COUNT,
} }
} }
...@@ -28,4 +28,4 @@ ...@@ -28,4 +28,4 @@
// //
// You can specify all the values or you can use the default the Revision and // You can specify all the values or you can use the default the Revision and
// Build Numbers by using the '*' as shown below: // Build Numbers by using the '*' as shown below:
[assembly: AssemblyVersion("2.3.1.1")] [assembly: AssemblyVersion("2.3.1.2")]
★更新历史 ★更新历史
2.3.1.2
修复bug:向空数据库复制卡片报错
2.3.1.1 2.3.1.1
完善撤销功能 完善撤销功能
2.3.1.0 2.3.1.0
......
...@@ -157,4 +157,3 @@ MainForm.mainMenu.menuitem_closeall 关闭所有 ...@@ -157,4 +157,3 @@ MainForm.mainMenu.menuitem_closeall 关闭所有
0x47 读取MSE存档 0x47 读取MSE存档
0x48 读取MSE存档完成! 0x48 读取MSE存档完成!
0x49 请重启程序使更改生效 0x49 请重启程序使更改生效
0x4c 是否同时删除卡图、脚本等资源?
\ No newline at end of file
...@@ -156,4 +156,3 @@ MainForm.mainMenu.menuitem_closeall Close All ...@@ -156,4 +156,3 @@ MainForm.mainMenu.menuitem_closeall Close All
0x47 Read MSE-set 0x47 Read MSE-set
0x48 Read MSE-set is OK. 0x48 Read MSE-set is OK.
0x49 Please restart program to apply changes. 0x49 Please restart program to apply changes.
0x4c Also delete pics and scripts?
\ No newline at end of file
[DataEditorX]2.3.1.1[DataEditorX] [DataEditorX]2.3.1.2[DataEditorX]
[URL]https://github.com/247321453/DataEditorX/raw/master/win32/win32.zip[URL] [URL]https://github.com/247321453/DataEditorX/raw/master/win32/win32.zip[URL]
★运行环境(Environment) ★运行环境(Environment)
......
No preview for this file type
...@@ -15,9 +15,9 @@ ...@@ -15,9 +15,9 @@
<!-- MSE language data/mse_xxx.txt --> <!-- MSE language data/mse_xxx.txt -->
<add key="mse" value="Chinese-Simplified" /> <add key="mse" value="Chinese-Simplified" />
<!-- Language data/cardinfo_xxxx.txt data/language_xxx.txt --> <!-- Language data/cardinfo_xxxx.txt data/language_xxx.txt -->
<add key="language" value="english" /> <add key="language" value="Chinese" />
<!-- Check system language when running program first time --> <!-- Check system language when running program first time -->
<add key="check_system_language" value="true" /> <add key="check_system_language" value="false" />
<!-- async load data --> <!-- async load data -->
<add key="async" value="false" /> <add key="async" value="false" />
<!-- DataEditorX source code --> <!-- DataEditorX source code -->
......
★更新历史 ★更新历史
2.3.1.2
修复bug:向空数据库复制卡片报错
2.3.1.1 2.3.1.1
完善撤销功能 完善撤销功能
2.3.1.0 2.3.1.0
......
[DataEditorX]2.3.1.1[DataEditorX] [DataEditorX]2.3.1.2[DataEditorX]
[URL]https://github.com/247321453/DataEditorX/raw/master/win32/win32.zip[URL] [URL]https://github.com/247321453/DataEditorX/raw/master/win32/win32.zip[URL]
★运行环境(Environment) ★运行环境(Environment)
......
No preview for this file type
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment