}
if showsExcludedShipInUpgradableList == false,
- excludeShiIDs.count != 0 {
+ excludeShiIDsCache.count != 0 {
- excludeShip = .not(NSPredicate(#keyPath(Ship.id), valuesIn: excludeShiIDs))
+ excludeShip = .not(NSPredicate(#keyPath(Ship.id), valuesIn: excludeShiIDsCache))
}
switch (levelOnePredicate, excludeShip) {
return ApplicationDirecrories.support.appendingPathComponent("ExcludeShipIDs")
}
- override func windowDidLoad() {
+ override func windowWillLoad() {
- super.windowDidLoad()
+ super.windowWillLoad()
excludeShiIDsCache = excludeShiIDs
}