Reset stored values when switching graphs

This commit is contained in:
DarkPhoenix
2019-06-26 19:30:16 +03:00
parent 7895e4076d
commit b125c62930

View File

@@ -155,6 +155,7 @@ class GraphControlPanel(wx.Panel):
self.tgtVector.SetValue(length=1, angle=90)
def updateControls(self, layout=True):
self.storedValues.clear()
view = self.graphFrame.getView()
self.ySubSelection.Clear()
self.xSubSelection.Clear()