浏览代码

troop selection: add success message

Bastien Sevajol 7 年前
父节点
当前提交
9b09899640
共有 1 个文件被更改,包括 7 次插入0 次删除
  1. 7 0
      opencombat/strategy/selection/gui.py

+ 7 - 0
opencombat/strategy/selection/gui.py 查看文件

193
             )
193
             )
194
             with open(troops_file_path, 'w+') as file:
194
             with open(troops_file_path, 'w+') as file:
195
                 file.write(troops_xml)
195
                 file.write(troops_xml)
196
+
197
+            messagebox.showinfo(
198
+                'Troops file generated',
199
+                'Troops file successfully generate at "{}"'.format(
200
+                    troops_file_path,
201
+                )
202
+            )
196
         else:
203
         else:
197
             messagebox.showinfo(
204
             messagebox.showinfo(
198
                 'Missing information',
205
                 'Missing information',