--- a/objdictgen/commondialogs.py Thu Dec 06 16:07:46 2012 +0100
+++ b/objdictgen/commondialogs.py Wed Feb 27 13:13:12 2013 +0100
@@ -1252,7 +1252,7 @@
if result is not None and question:
dialog = wx.MessageDialog(self, _("%s\nWould you like to replace it ?")%result, _("Question"), wx.YES_NO|wx.ICON_QUESTION)
if dialog.ShowModal() == wx.ID_YES:
- dialog, question = self.NodeList.ImportEDSFile(filepath, True)
+ result, question = self.NodeList.ImportEDSFile(filepath, True)
dialog.Destroy()
if result is not None and not question:
dialog = wx.MessageDialog(self, result, _("Error"), wx.OK|wx.ICON_ERROR)