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,6 +193,13 @@ class SelectTroopsGui(Gui):
193 193
             )
194 194
             with open(troops_file_path, 'w+') as file:
195 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 203
         else:
197 204
             messagebox.showinfo(
198 205
                 'Missing information',