Quantcast

4.9.9999

Munglunch [10-13-14 - 13:09]
4.9.9999
Filename
Interface/AddOns/SVUI/assets/artwork/Icons/Thumbs.db
Interface/AddOns/SVUI/packages/bag/SVBag.lua
diff --git a/Interface/AddOns/SVUI/assets/artwork/Icons/Thumbs.db b/Interface/AddOns/SVUI/assets/artwork/Icons/Thumbs.db
deleted file mode 100644
index 15d6ea3..0000000
Binary files a/Interface/AddOns/SVUI/assets/artwork/Icons/Thumbs.db and /dev/null differ
diff --git a/Interface/AddOns/SVUI/packages/bag/SVBag.lua b/Interface/AddOns/SVUI/packages/bag/SVBag.lua
index bd9d8bd..8d1c190 100644
--- a/Interface/AddOns/SVUI/packages/bag/SVBag.lua
+++ b/Interface/AddOns/SVUI/packages/bag/SVBag.lua
@@ -538,6 +538,8 @@ local ContainerFrame_UpdateLayout = function(self)
 				bag = self.Bags[bagID]
 			end

+			bag.numSlots = numSlots;
+
 			local btype = select(2, GetContainerNumFreeSlots(bagID));
 			local r, g, b;
 			if RefProfessionColors[btype] then
@@ -618,6 +620,8 @@ local ContainerFrame_UpdateLayout = function(self)
 				BankFrameItemButton_UpdateLocked(menu[i])
 			end
 			if(self.Bags[bagID]) then
+				self.Bags[bagID].numSlots = numSlots;
+
 				for i = 1, MAX_CONTAINER_ITEMS do
 					if(self.Bags[bagID][i]) then
 						self.Bags[bagID][i]:Hide();
@@ -625,8 +629,6 @@ local ContainerFrame_UpdateLayout = function(self)
 				end
 			end
 		end
-
-		self.Bags[bagID].numSlots = numSlots;
 	end

 	self:Size(containerWidth, containerHeight);