Set rack separation/labels and compact needed skills as default

Also refresh fit after modifying compact skills to take affect immediately.
This commit is contained in:
blitzmann
2014-06-02 09:32:59 -04:00
parent 7d58b2caa1
commit 5a1e39180a
2 changed files with 6 additions and 3 deletions

View File

@@ -121,6 +121,9 @@ class PFGeneralPref ( PreferenceView):
def onCBCompactSkills(self, event):
self.sFit.serviceFittingOptions["compactSkills"] = self.cbCompactSkills.GetValue()
fitID = self.mainFrame.getActiveFit()
self.sFit.refreshFit(fitID)
wx.PostEvent(self.mainFrame, GE.FitChanged(fitID=fitID))
event.Skip()
def onCBReopenFits(self, event):

View File

@@ -93,9 +93,9 @@ class Fit(object):
"defaultCharacter": self.character.ID,
"useGlobalForceReload": False,
"colorFitBySlot": False,
"rackSlots": False,
"rackLabels": False,
"compactSkills": False}
"rackSlots": True,
"rackLabels": True,
"compactSkills": True}
self.serviceFittingOptions = SettingsProvider.getInstance().getSettings(
"pyfaServiceFittingOptions", serviceFittingDefaultOptions)