From 40a9e657272652691979c8b19365a70b8700aebf Mon Sep 17 00:00:00 2001 From: Pierre Ratinaud Date: Sun, 14 Dec 2014 21:41:08 +0100 Subject: [PATCH] ... --- tools.py | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/tools.py b/tools.py index 307439f..6957313 100644 --- a/tools.py +++ b/tools.py @@ -58,10 +58,12 @@ class Extract : ExtractMods(parametres) elif option == 'them' : SplitFromThem(parametres) - dial.Destroy() - dial = wx.MessageDialog(parent, 'Done !', style = wx.OK) - dial.ShowModal() - dial.Destroy() + dial.Destroy() + dial = wx.MessageDialog(parent, 'Done !', style = wx.OK) + dial.ShowModal() + dial.Destroy() + else : + dial.Destroy() class SplitFromVar : def __init__(self, parametres) : -- 2.7.4