Rework target profile and damage pattern menus to use regular ticks

This commit is contained in:
DarkPhoenix
2019-07-31 15:54:09 +03:00
parent 1e3783c21d
commit 1f5fe47580
7 changed files with 42 additions and 33 deletions

View File

@@ -26,8 +26,7 @@ class FactorReload(ContextMenuUnconditional):
fitIDs = Fit.getInstance().toggleFactorReload()
wx.PostEvent(self.mainFrame, GE.FitChanged(fitIDs=tuple(fitIDs)))
@property
def checked(self):
def isChecked(self, i):
sFit = Fit.getInstance()
return sFit.serviceFittingOptions["useGlobalForceReload"]