Show-hide vectors and target list as needed

This commit is contained in:
DarkPhoenix
2019-06-25 16:37:33 +03:00
parent 509a45dcee
commit 0420f399ad
2 changed files with 37 additions and 15 deletions

View File

@@ -113,7 +113,7 @@ class GraphFrame(wx.Frame):
for view in Graph.views:
self.graphSelection.Append(view.name, view())
self.graphSelection.SetSelection(0)
self.ctrlPanel.updateControlsForView(self.getView())
self.ctrlPanel.updateControls(self.getView())
# Event bindings - local events
self.Bind(wx.EVT_CLOSE, self.closeEvent)
@@ -153,7 +153,7 @@ class GraphFrame(wx.Frame):
def OnGraphSwitched(self, event):
self.clearCache()
self.ctrlPanel.updateControlsForView(self.getView())
self.ctrlPanel.updateControls(self.getView())
self.draw()
event.Skip()