Process targets in DPS calculation code
This commit is contained in:
@@ -205,9 +205,11 @@ class TargetList(BaseList):
|
||||
super().__init__(graphFrame, parent)
|
||||
self.profiles = []
|
||||
self.profiles.append(TargetProfile.getIdeal())
|
||||
stuff = self.fits + self.profiles
|
||||
self.update(stuff)
|
||||
self.update(self.targets)
|
||||
|
||||
def refreshView(self):
|
||||
stuff = self.fits + self.profiles
|
||||
self.refresh(stuff)
|
||||
self.refresh(self.targets)
|
||||
|
||||
@property
|
||||
def targets(self):
|
||||
return self.fits + self.profiles
|
||||
|
||||
@@ -318,7 +318,7 @@ class GraphControlPanel(wx.Panel):
|
||||
|
||||
@property
|
||||
def targets(self):
|
||||
return self.targetList.fits
|
||||
return self.targetList.targets
|
||||
|
||||
def unbindExternalEvents(self):
|
||||
self.fitList.unbindExternalEvents()
|
||||
|
||||
Reference in New Issue
Block a user