View Single Post
01-27-13, 05:20 AM   #8
gmarco
An Onyxian Warder
 
gmarco's Avatar
AddOn Author - Click to view addons
Join Date: Dec 2009
Posts: 362
Hi,

Uhm there something strange.

I made the modifications for the config panel to 2 addons . As I said it was very easy using the code by PetBattleAutoForfeit Phanx addon.

But now I am experiencing a strange iussue I am not able to understand.

I see that one addon (autopsy) have a very nice about panel due to the:

Lua Code:
  1. if LibStub and LibStub("LibAboutPanel", true) then
  2.     options.about = LibStub("LibAboutPanel").new(options.name, ADDON)
  3. end

This code is also present in the other addon (aggromon) but it doesn't have the about panel.

I am quite sure both addon code are quite similar (a lot of cut & paste) so it is very strange thing.

Could it be dependant by the load order or by another addon ? The one that works is loaded after.

Thanks.
Attached Thumbnails
Click image for larger version

Name:	img-001.png
Views:	338
Size:	77.8 KB
ID:	7545  
__________________
This is Unix-Land. In quiet nights, you can hear the Windows machines reboot.
  Reply With Quote