nil error on trigger deletion
mrbuds opened this issue ยท 1 comments
Describe the bug
on retail, last commit = 3bb0120
- import https://wago.io/JSD-HARuy
- select trigger 2, delete it
1x WeakAuras\WeakAuras-@[email protected]:5883: attempt to index field '?' (a nil value)
WeakAuras\WeakAuras-@[email protected]:5883: in function `UpdatedTriggerState'
WeakAuras\WeakAuras-@[email protected]:5691: in function `FakeStatesFor'
WeakAuras\WeakAuras-@[email protected]:4254: in function <WeakAuras\WeakAuras.lua:4227>
WeakAuras\WeakAuras-@[email protected]:4343: in function `Add'
WeakAurasOptions\WeakAurasOptions-@[email protected]:2962: in function <WeakAurasOptions\WeakAurasOptions.lua:2944>
[C]: ?
...nfig-3.0\AceConfigDialog-3.0\AceConfigDialog-3.0-78.lua:51: in function <...nfig-3.0\AceConfigDialog-3.0\AceConfigDialog-3.0.lua:49>
...nfig-3.0\AceConfigDialog-3.0\AceConfigDialog-3.0-78.lua:843: in function <...nfig-3.0\AceConfigDialog-3.0\AceConfigDialog-3.0.lua:664>
[C]: ?
Quartz\libs\AceGUI-3.0\AceGUI-3.0-40.lua:72: in function <Quartz\libs\AceGUI-3.0\AceGUI-3.0.lua:70>
Quartz\libs\AceGUI-3.0\AceGUI-3.0-40.lua:290: in function `Fire'
Ace3\AceGUI-3.0-40\widgets\AceGUIWidget-Icon.lua:26: in function <Ace3\AceGUI-3.0\widgets\AceGUIWidget-Icon.lua:25>
3a0367ad58a0b83ad491a0557edc9cadd4acfdfd is the first bad commit
commit 3a0367ad58a0b83ad491a0557edc9cadd4acfdfd
Author: Infus <[email protected]>
Date: Thu Dec 12 22:35:50 2019 +0100
Fix various issues around fake states
* Showing a extra state if selecting the aura instead of a parent group
* Showing states with show = false
As reported on Discord by nullkomplex
WeakAuras/WeakAuras.lua | 47 ++++++++++++++++++-------
WeakAurasOptions/OptionsFrames/MoverSizer.lua | 5 +++
WeakAurasOptions/OptionsFrames/OptionsFrame.lua | 6 ++--
WeakAurasOptions/WeakAurasOptions.lua | 17 ++++++++-
4 files changed, 58 insertions(+), 17 deletions(-)