In ListItem_OnClick(): Only check for a modifier key if the clicked line has a recipe_id
James D. Callahan III [03-21-10 - 07:14]
In ListItem_OnClick(): Only check for a modifier key if the clicked line has a recipe_id
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