From: Pierre Ratinaud Date: Sun, 14 Dec 2014 20:41:08 +0000 (+0100) Subject: ... X-Git-Url: http://iramuteq.org/git?p=iramuteq;a=commitdiff_plain;h=40a9e657272652691979c8b19365a70b8700aebf ... --- 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) :