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:
@@ -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):
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user