Mercurial > wow > inventory
comparison Modules/Config.lua @ 240:24e71ed0a422
Added a default for when no addon was selected.
Scanner is now disabled when the item count addon returns an error code.
author | Zerotorescue |
---|---|
date | Sat, 12 Feb 2011 20:15:31 +0100 |
parents | 70daa765e275 |
children | 03cd9d95e980 |
comparison
equal
deleted
inserted
replaced
239:b210cb2b0798 | 240:24e71ed0a422 |
---|---|
724 end | 724 end |
725 | 725 |
726 if preferedAddon ~= selectedAddonName then | 726 if preferedAddon ~= selectedAddonName then |
727 t = t .. "\n\n|cffff0000You have selected |cfffed000" .. preferedAddon .. "|r|cffff0000 as your item count addon, but this appears to be disabled and thus the best alternative was selected.|r"; | 727 t = t .. "\n\n|cffff0000You have selected |cfffed000" .. preferedAddon .. "|r|cffff0000 as your item count addon, but this appears to be disabled and thus the best alternative was selected.|r"; |
728 end | 728 end |
729 else | |
730 t = t .. "|cffff0000Warning! No item count addon detected!|r"; | |
729 end | 731 end |
730 | 732 |
731 return t; | 733 return t; |
732 end, | 734 end, |
733 }, | 735 }, |
1738 end | 1740 end |
1739 | 1741 |
1740 if preferedAddon ~= selectedAddonName then | 1742 if preferedAddon ~= selectedAddonName then |
1741 t = t .. "\n\n|cffff0000You have selected |cfffed000" .. preferedAddon .. "|r|cffff0000 as your item count addon, but this appears to be disabled and thus the best alternative was selected.|r"; | 1743 t = t .. "\n\n|cffff0000You have selected |cfffed000" .. preferedAddon .. "|r|cffff0000 as your item count addon, but this appears to be disabled and thus the best alternative was selected.|r"; |
1742 end | 1744 end |
1745 else | |
1746 t = t .. "|cffff0000Warning! No item count addon detected!|r"; | |
1743 end | 1747 end |
1744 | 1748 |
1745 return t; | 1749 return t; |
1746 end, | 1750 end, |
1747 }, | 1751 }, |