Bug on MessageDialog popup when unable to load a file fixed
authorlbessard
Mon, 24 Sep 2007 09:37:04 +0200
changeset 280 d9b232ec7057
parent 279 9b69f2fabafe
child 281 685d9a26e4f9
Bug on MessageDialog popup when unable to load a file fixed
objdictgen/objdictedit.py
--- a/objdictgen/objdictedit.py	Fri Sep 21 17:50:20 2007 +0200
+++ b/objdictgen/objdictedit.py	Mon Sep 24 09:37:04 2007 +0200
@@ -620,7 +620,7 @@
                     self.RefreshProfileMenu()
                     self.RefreshMainMenu()
                 else:
-                    message = wx.MessageDialog(self, e.args[0], "Error", wx.OK|wx.ICON_ERROR)
+                    message = wx.MessageDialog(self, result, "Error", wx.OK|wx.ICON_ERROR)
                     message.ShowModal()
                     message.Destroy()
         dialog.Destroy()