comparison ReAction.lua @ 95:168cae4aa8bd

Fixes: - brute-force fix for invalid snippets - copying profile data now results in immediate changes - fixed keybinding tooltip display for pet bar simple actions Also did a little condensing of the state driver rule string generation
author Flick <flickerstreak@gmail.com>
date Wed, 22 Oct 2008 21:39:07 +0000
parents 5f1d7a81317c
children 3699d7dad312
comparison
equal deleted inserted replaced
94:39265b16d208 95:168cae4aa8bd
243 } 243 }
244 } 244 }
245 -- initial profile is character-specific 245 -- initial profile is character-specific
246 ) 246 )
247 self.db.RegisterCallback(self,"OnProfileChanged") 247 self.db.RegisterCallback(self,"OnProfileChanged")
248 self.db.RegisterCallback(self,"OnProfileReset","OnProfileChanged") 248 self.db.RegisterCallback(self,"OnProfileReset", "OnProfileChanged")
249 self.db.RegisterCallback(self,"OnProfileCopied","OnProfileChanged")
249 250
250 KB.RegisterCallback(self,"LIBKEYBOUND_ENABLED") 251 KB.RegisterCallback(self,"LIBKEYBOUND_ENABLED")
251 KB.RegisterCallback(self,"LIBKEYBOUND_DISABLED") 252 KB.RegisterCallback(self,"LIBKEYBOUND_DISABLED")
252 253
253 options.args.profile = LibStub("AceDBOptions-3.0"):GetOptionsTable(self.db) 254 options.args.profile = LibStub("AceDBOptions-3.0"):GetOptionsTable(self.db)