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.market import Market
|
||||
import gui.mainFrame
|
||||
import gui.globalEvents as GE
|
||||
from gui.contextMenu import ContextMenu
|
||||
from service.settings import ContextMenuSettings
|
||||
|
||||
@@ -86,10 +87,8 @@ class CommandFits(ContextMenu):
|
||||
sFit = Fit.getInstance()
|
||||
fitID = self.mainFrame.getActiveFit()
|
||||
|
||||
print fit, 'selected'
|
||||
# add command fit
|
||||
# sFit.toggleFighterAbility(fitID, fit)
|
||||
# wx.PostEvent(self.mainFrame, GE.FitChanged(fitID=fitID))
|
||||
sFit.addCommandFit(fitID, fit)
|
||||
wx.PostEvent(self.mainFrame, GE.FitChanged(fitID=fitID))
|
||||
|
||||
CommandFits.populateFits(None)
|
||||
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
|
||||
if labelName == "labelFullSigRadius":
|
||||
print "labelName"
|
||||
if fit:
|
||||
label.SetToolTip(wx.ToolTip("Probe Size: %.3f" % (fit.probeSize or 0)))
|
||||
else:
|
||||
|
||||
Reference in New Issue
Block a user