From b2280823c45e93da9e1323e208b0d0b0a88fa2fd Mon Sep 17 00:00:00 2001 From: "James D. Callahan III" Date: Mon, 19 Apr 2010 06:23:22 -0400 Subject: [PATCH] In the MainPanel's OnShow script: Fixed defaulting to Name view if no applicable match was found. --- Frame.lua | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Frame.lua b/Frame.lua index a3dbbf5..ab30d17 100644 --- a/Frame.lua +++ b/Frame.lua @@ -1090,7 +1090,10 @@ MainPanel:SetScript("OnShow", -- Default to the name tab. if not found then - on_click(self.tabs[3]) + local tab = self.tabs[3] + local on_click = tab:GetScript("OnClick") + + on_click(tab) end end) -- 1.7.9.5