Fixing small wxPython error.
This commit is contained in:
parent
6374683d17
commit
ba513ea45d
@ -41,7 +41,7 @@ class NoAttackError(Exception):
|
||||
|
||||
def ShowAndReturn(text):
|
||||
title = "Error"
|
||||
dlg = wx.MessageDialog(None, text, title, wx.ID_OK | wx.ICON_ERROR)
|
||||
dlg = wx.MessageDialog(None, text, title, wx.OK | wx.ICON_ERROR)
|
||||
result = dlg.ShowModal()
|
||||
dlg.Destroy()
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user