PaperDollStatTooltip("player") GameTooltip:Hide() self:RegisterForDrag("LeftButton") self:CreateBackdrop("Default") self.backdrop:SetOutside(self.icon) self.icon:SetParent(self.backdrop) if self.name and self.name ~= "" then PlaySound("igMainMenuOptionCheckBoxOn") PaperDollEquipmentManagerPane.selectedSetName = self.name PaperDollFrame_ClearIgnoredSlots() PaperDollFrame_IgnoreSlotsForSet(self.name) ElvUI[1]:GetModule('Enhanced_CharacterFrame'):PaperDollEquipmentManagerPane_Update() GearManagerDialogPopup:Hide() else GearManagerDialogPopup:Show() PaperDollEquipmentManagerPane.selectedSetName = nil GearManagerDialogPopup.selectedSetName = nil PaperDollFrame_ClearIgnoredSlots() ElvUI[1]:GetModule('Enhanced_CharacterFrame'):PaperDollEquipmentManagerPane_Update() end StaticPopup_Hide("CONFIRM_SAVE_EQUIPMENT_SET") StaticPopup_Hide("CONFIRM_OVERWRITE_EQUIPMENT_SET") local name = self.name if name and name ~= "" then PlaySound("igCharacterInfoTab") EquipmentManager_EquipSet(name) end GearSetButton_OnEnter(self) GameTooltip:Hide() if self.name and self.name ~= "" then PickupEquipmentSetByName(self.name) end