File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed
Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -379,6 +379,9 @@ function TalentLoadouts:UpdateTempLoadout()
379379 self .charDB .tempLoadout = configID
380380 end
381381 end
382+
383+ self .charDB .activeConfigIDs = self .charDB .activeConfigIDs or {}
384+ self .charDB .activeConfigIDs [C_ClassTalents .GetActiveConfigID ()] = true
382385end
383386
384387function TalentLoadouts :UpdateActionBar ()
526529function TalentLoadouts :SaveLoadout (configID , currentSpecID )
527530 local specLoadouts = self .globalDB .configIDs [currentSpecID ]
528531 local configInfo = C_Traits .GetConfigInfo (configID )
529- if configInfo .type == 1 and configInfo .name ~= ITL_LOADOUT_NAME then
532+ if configInfo .type == 1 and configInfo .name ~= ITL_LOADOUT_NAME and ( not self . charDB . activeConfigIDs or not self . charDB . activeConfigIDs [ configInfo . ID ]) then
530533 configInfo .default = configID == C_ClassTalents .GetActiveConfigID () or nil
531534 specLoadouts [configID ] = configInfo
532535 self :InitializeTalentLoadout (configID )
You can’t perform that action at this time.
0 commit comments