AtlasLoot_Toggle() AtlasLootOptions_Toggle() if AtlasLootCharDB["QuickLooks"][1] then if AtlasFrame and AtlasFrame:IsVisible() then AtlasLootPanel_Preset1:Click() else ShowUIPanel(AtlasLootDefaultFrame) AtlasLootDefaultFrame_Preset1:Click() end end if AtlasLootCharDB["QuickLooks"][2] then if AtlasFrame and AtlasFrame:IsVisible() then AtlasLootPanel_Preset2:Click() else ShowUIPanel(AtlasLootDefaultFrame) AtlasLootDefaultFrame_Preset2:Click() end end if AtlasLootCharDB["QuickLooks"][3] then if AtlasFrame and AtlasFrame:IsVisible() then AtlasLootPanel_Preset3:Click() else ShowUIPanel(AtlasLootDefaultFrame) AtlasLootDefaultFrame_Preset3:Click() end end if AtlasLootCharDB["QuickLooks"][4] then if AtlasFrame and AtlasFrame:IsVisible() then AtlasLootPanel_Preset4:Click() else ShowUIPanel(AtlasLootDefaultFrame) AtlasLootDefaultFrame_Preset4:Click() end end if AtlasFrame and AtlasFrame:IsVisible() then AtlasLootPanel_WishList:Click() else ShowUIPanel(AtlasLootDefaultFrame) AtlasLootDefaultFrameWishListButton:Click() end