diff gui.lua @ 44:a561a967b5e6

Add simple button to Blizzard options. Fix case insensitivity of tab title scanning from command line.
author Farmbuyer of US-Kilrogg <farmbuyer@gmail.com>
date Fri, 20 Jan 2012 10:46:58 +0000
parents 78a25e2d25bf
children 0b1e703a6954
line wrap: on
line diff
--- a/gui.lua	Fri Jan 13 01:18:32 2012 +0000
+++ b/gui.lua	Fri Jan 20 10:46:58 2012 +0000
@@ -2014,7 +2014,7 @@
 end
 
 function addon:OpenMainDisplayToTab (text)
-	text = '^'..text
+	text = '^'..text:lower()
 	for tab,v in pairs(_tabtexts) do
 		if v.title:lower():find(text) then
 			self:BuildMainDisplay(tab)