invPanelSettings.py (605B)
1 #Embedded file name: C:\BuildAgent\work\20d73f1b24eed06e\eve\release\V24.01\eve\client\script\ui\shared\fittingScreen\invPanelSettings.py 2 from carbonui.util.various_unsorted import GetAttrs 3 4 def _GetComboPrefsKey(): 5 return ('char', 'ui', 'fittingInvCombo') 6 7 8 def GetInvComboSettingValue(): 9 config, prefstype = _GetPrefsTypeAndConfig() 10 s = GetAttrs(settings, *prefstype) 11 try: 12 return s.Get(config, None) 13 except: 14 pass 15 16 17 def _GetPrefsTypeAndConfig(): 18 prefsKey = _GetComboPrefsKey() 19 config = prefsKey[-1] 20 prefstype = prefsKey[:-1] 21 return (config, prefstype)