Mercurial > wow > reaction
comparison main.lua @ 21:90bf38d48efd
committing changes to obsolete 0.4 series
author | Flick <flickerstreak@gmail.com> |
---|---|
date | Fri, 07 Mar 2008 21:54:26 +0000 |
parents | 2f3e45fcb9e2 |
children |
comparison
equal
deleted
inserted
replaced
20:2f3e45fcb9e2 | 21:90bf38d48efd |
---|---|
120 end | 120 end |
121 end | 121 end |
122 end | 122 end |
123 | 123 |
124 function main:UpgradeProfile() | 124 function main:UpgradeProfile() |
125 for _, bar in pairs(self.db.profile.bars) do | |
126 if bar.btnConfig and bar.btnConfig.ids then | |
127 bar.btnConfig.buttons = { } | |
128 for i, ids in ipairs(bar.btnConfig.ids) do | |
129 bar.btnConfig.buttons[i] = { id = ids[1], actions = ids } | |
130 end | |
131 bar.btnConfig.ids = nil | |
132 end | |
133 end | |
125 end | 134 end |
126 | 135 |
127 | 136 |
128 | 137 |
129 -------------------------------------------- | 138 -------------------------------------------- |