Fix issue with losing wrapper for FittingView when closing
This commit is contained in:
@@ -694,8 +694,7 @@ class FittingView(d.Display):
|
|||||||
# pyfalog.critical(e)
|
# pyfalog.critical(e)
|
||||||
|
|
||||||
def OnShow(self, event):
|
def OnShow(self, event):
|
||||||
|
if self and not self.IsShown():
|
||||||
if not self.IsShown():
|
|
||||||
try:
|
try:
|
||||||
self.MakeSnapshot()
|
self.MakeSnapshot()
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
|
|||||||
Reference in New Issue
Block a user