Pārlūkot izejas kodu

troop selection: add success message

Bastien Sevajol 6 gadus atpakaļ
vecāks
revīzija
9b09899640
1 mainītis faili ar 7 papildinājumiem un 0 dzēšanām
  1. 7 0
      opencombat/strategy/selection/gui.py

+ 7 - 0
opencombat/strategy/selection/gui.py Parādīt failu

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