From 8a0a960de34056f85420ab77c84d321a133ec568 Mon Sep 17 00:00:00 2001 From: "James D. Callahan III" Date: Sun, 21 Mar 2010 03:14:53 -0400 Subject: [PATCH] In ListItem_OnClick(): Only check for a modifier key if the clicked line has a recipe_id --- Frame.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Frame.lua b/Frame.lua index c77546f..c4c148c 100644 --- a/Frame.lua +++ b/Frame.lua @@ -3193,7 +3193,7 @@ function addon:InitializeFrame() local traverseIndex = 0 -- First, check if this is a "modified" click, and react appropriately - if IsModifierKeyDown() then + if clicked_line.recipe_id and IsModifierKeyDown() then if IsControlKeyDown() and IsShiftKeyDown() then addon:SetupMap(clicked_line.recipe_id) elseif IsShiftKeyDown() then -- 1.7.9.5