Don't destroy ItemStats window on close. Instead, Skip() the event so that it can finish processing events correctly. (#1650)

This commit is contained in:
blitzmann
2018-06-15 02:27:41 -04:00
parent eece7de547
commit 47016c682e

View File

@@ -149,7 +149,7 @@ class ItemStatsDialog(wx.Dialog):
ItemStatsDialog.counter -= 1
self.parentWnd.UnregisterStatsWindow(self)
self.Destroy()
event.Skip()
class ItemStatsContainer(wx.Panel):