From 7319a6a321423e6dbe448e5e6a9fe43ed641044d Mon Sep 17 00:00:00 2001 From: "James D. Callahan III" Date: Wed, 31 Mar 2010 07:35:04 -0400 Subject: [PATCH] In ListItem_OnClick(): If clicked_line is nil, do nothing. --- Frame.lua | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Frame.lua b/Frame.lua index 101fc7d..ddabcf8 100644 --- a/Frame.lua +++ b/Frame.lua @@ -2646,6 +2646,9 @@ do local clicked_line = ListFrame.entries[clickedIndex] local traverseIndex = 0 + if not clicked_line then + return + end -- First, check if this is a "modified" click, and react appropriately if clicked_line.recipe_id and _G.IsModifierKeyDown() then if _G.IsControlKeyDown() and _G.IsShiftKeyDown() then -- 1.7.9.5