knoxfighter / GW2-ArcDPS-Boon-Table

MIT License
83 stars 9 forks source link

Reload config after init to fix settings reset (#15) #27

Closed Pluckerpluck closed 1 year ago

Pluckerpluck commented 1 year ago

This change moves the registration of the imgui settings loaders to the earliest possible moment (to minimize side effects). It then instantly invalidates any already loaded settings, stating the file must be read again.

This fixes #15 , in which settings were being loaded before the BigTable handlers had been added, resulted in the addon assuming no existing settings existed.

Tested for a few days with no issues.