Actually apply the command fit, and remove print statement
This commit is contained in:
@@ -4,6 +4,7 @@ import wx
|
|||||||
from service.fit import Fit
|
from service.fit import Fit
|
||||||
from service.market import Market
|
from service.market import Market
|
||||||
import gui.mainFrame
|
import gui.mainFrame
|
||||||
|
import gui.globalEvents as GE
|
||||||
from gui.contextMenu import ContextMenu
|
from gui.contextMenu import ContextMenu
|
||||||
from service.settings import ContextMenuSettings
|
from service.settings import ContextMenuSettings
|
||||||
|
|
||||||
@@ -86,10 +87,8 @@ class CommandFits(ContextMenu):
|
|||||||
sFit = Fit.getInstance()
|
sFit = Fit.getInstance()
|
||||||
fitID = self.mainFrame.getActiveFit()
|
fitID = self.mainFrame.getActiveFit()
|
||||||
|
|
||||||
print fit, 'selected'
|
sFit.addCommandFit(fitID, fit)
|
||||||
# add command fit
|
wx.PostEvent(self.mainFrame, GE.FitChanged(fitID=fitID))
|
||||||
# sFit.toggleFighterAbility(fitID, fit)
|
|
||||||
# wx.PostEvent(self.mainFrame, GE.FitChanged(fitID=fitID))
|
|
||||||
|
|
||||||
CommandFits.populateFits(None)
|
CommandFits.populateFits(None)
|
||||||
CommandFits.register()
|
CommandFits.register()
|
||||||
|
|||||||
@@ -242,7 +242,6 @@ class TargetingMiscViewMinimal(StatsView):
|
|||||||
|
|
||||||
# forces update of probe size, since this stat is used by both sig radius and sensor str
|
# forces update of probe size, since this stat is used by both sig radius and sensor str
|
||||||
if labelName == "labelFullSigRadius":
|
if labelName == "labelFullSigRadius":
|
||||||
print "labelName"
|
|
||||||
if fit:
|
if fit:
|
||||||
label.SetToolTip(wx.ToolTip("Probe Size: %.3f" % (fit.probeSize or 0)))
|
label.SetToolTip(wx.ToolTip("Probe Size: %.3f" % (fit.probeSize or 0)))
|
||||||
else:
|
else:
|
||||||
|
|||||||
Reference in New Issue
Block a user