Quantcast

Bringing this current with Curse

Munglunch [03-03-15 - 14:32]
Bringing this current with Curse
Filename
SVUI_!Core/libs/_SVUI_Lib/Registry.lua
SVUI_Maps/SVUI_Maps.lua
SVUI_Skins/components/blizzard/misc.lua
diff --git a/SVUI_!Core/libs/_SVUI_Lib/Registry.lua b/SVUI_!Core/libs/_SVUI_Lib/Registry.lua
index 0f7d6cf..ceb57e5 100644
--- a/SVUI_!Core/libs/_SVUI_Lib/Registry.lua
+++ b/SVUI_!Core/libs/_SVUI_Lib/Registry.lua
@@ -1201,7 +1201,7 @@ function lib:ImportDatabase(key, linked)
         tablecopy(saved, export);
         DirtyMediaList[key] = true;

-        UpdateProfileSources()
+        ReloadUI()
     else
         UpdateProfileSources(key)
     end
diff --git a/SVUI_Maps/SVUI_Maps.lua b/SVUI_Maps/SVUI_Maps.lua
index 2eca51a..1a0e698 100644
--- a/SVUI_Maps/SVUI_Maps.lua
+++ b/SVUI_Maps/SVUI_Maps.lua
@@ -114,7 +114,7 @@ local MMB_OnLeave = function(self)
 end

 do
-	local reserved = {"Node", "Tab", "Pin", "SVUI_ConsolidatedBuffs", "GameTimeframe", "HelpOpenTicketButton", "SVUI_MinimapFrame", "SVUI_EnhancedMinimap", "QueueStatusMinimapButton", "TimeManagerClockButton", "Archy", "GatherMatePin", "GatherNote", "GuildInstance", "HandyNotesPin", "MinimMap", "Spy_MapNoteList_mini", "ZGVMarker", "ZygorGuidesViewerMapIcon "}
+	local reserved = {"Node", "Tab", "Pin", "SVUI_ConsolidatedBuffs", "GameTimeframe", "HelpOpenTicketButton", "SVUI_MinimapFrame", "SVUI_EnhancedMinimap", "QueueStatusMinimapButton", "TimeManagerClockButton", "Archy", "GatherMatePin", "GatherNote", "GuildInstance", "HandyNotesPin", "MinimMap", "Spy_MapNoteList_mini", "ZGVMarker", "ZygorGuidesViewerMapIcon"}

 	local function UpdateMinimapButtons()
 		if(not SV.db.Maps.minimapbar.enable) then return end
diff --git a/SVUI_Skins/components/blizzard/misc.lua b/SVUI_Skins/components/blizzard/misc.lua
index d5f3e36..58dde7e 100644
--- a/SVUI_Skins/components/blizzard/misc.lua
+++ b/SVUI_Skins/components/blizzard/misc.lua
@@ -113,8 +113,10 @@ local function MailFrame_OnUpdate()
 		end
 		if(slot.GetNormalTexture) then
 			local icon = slot:GetNormalTexture()
-			icon:SetTexCoord(unpack(_G.SVUI_ICON_COORDS))
-			icon:InsetPoints()
+			if(icon) then
+				icon:SetTexCoord(unpack(_G.SVUI_ICON_COORDS))
+				icon:InsetPoints()
+			end
 		end
 	end
 end