Browse Source

troop selection: add success message

Bastien Sevajol 5 years ago
parent
commit
9b09899640
1 changed files with 7 additions and 0 deletions
  1. 7 0
      opencombat/strategy/selection/gui.py

+ 7 - 0
opencombat/strategy/selection/gui.py View File

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',