Ensure that the event is propagated when the graph window handles FitChanged (#1430)

This commit is contained in:
blitzmann
2018-02-24 18:21:32 -05:00
parent 6e5e52df37
commit 1559767201

View File

@@ -229,6 +229,9 @@ class GraphFrame(wx.Frame):
def draw(self, event=None):
global mpl_version
if event is not None:
event.Skip()
values = self.getValues()
view = self.getView()
self.subplot.clear()
@@ -299,8 +302,6 @@ class GraphFrame(wx.Frame):
self.canvas.draw()
self.SetStatusText("")
if event is not None:
event.Skip()
def onFieldChanged(self, event):
self.draw()