Fix issue with losing wrapper for FittingView when closing

This commit is contained in:
blitzmann
2018-02-25 12:04:57 -05:00
parent 390d90ac47
commit 2ed2f8e262

View File

@@ -694,8 +694,7 @@ class FittingView(d.Display):
# pyfalog.critical(e)
def OnShow(self, event):
if not self.IsShown():
if self and not self.IsShown():
try:
self.MakeSnapshot()
except Exception as e: