diff Frames.lua @ 206:5d13830e8b0d

Queue window now closes on escape.
author Zerotorescue
date Sat, 05 Feb 2011 20:01:30 +0100
parents 6a52272a0e5a
children
line wrap: on
line diff
--- a/Frames.lua	Sat Feb 05 19:36:35 2011 +0100
+++ b/Frames.lua	Sat Feb 05 20:01:30 2011 +0100
@@ -259,6 +259,8 @@
 		
 		-- Main window
 			local frame = CreateFrame("Frame", "InventoriumQueuer", UIParent);
+			-- Close on escape
+			tinsert(UISpecialFrames, "InventoriumQueuer");
 			-- Hide by default
 			frame:Hide();
 			-- Center the frame (will be adjusted later)