Aptechka

Aptechka

182k Downloads

Widget Creation: Selecting "Profile-Specific" check box throws Lua error

spamwax opened this issue ยท 2 comments

commented

Steps to reproduce:

  1. Click "New" under Widgets
  2. Select any widget type and enter a name
  3. Before clicking on "Create" button, check the box for "Profile-specific" option:
Message: Interface\AddOns\Aptechka\Options\WidgetConfig.lua:241: attempt to index upvalue 'CURRENT_FORM' (a nil value)
Time: Wed Sep 23 06:11:30 2020
Count: 1
Stack: Interface\AddOns\Aptechka\Options\WidgetConfig.lua:241: attempt to index upvalue 'CURRENT_FORM' (a nil value)
[string "=(tail call)"]: 
[string "@Interface\AddOns\Aptechka\Options\WidgetConfig.lua"]:241: in function <Interface\AddOns\Aptechka\Options\WidgetConfig.lua:240>
[string "=[C]"]: ?
[string "@Interface\AddOns\Plater\libs\AceGUI-3.0\AceGUI-3.0.lua"]:72: in function <...terface\AddOns\Plater\libs\AceGUI-3.0\AceGUI-3.0.lua:70>
[string "@Interface\AddOns\Plater\libs\AceGUI-3.0\AceGUI-3.0.lua"]:306: in function `Fire'
[string "@Interface\AddOns\Plater\libs\AceGUI-3.0\widgets\AceGUIWidget-CheckBox.lua"]:68: in function <...er\libs\AceGUI-3.0\widgets\AceGUIWidget-CheckBox.lua:57>

Locals: <none>

Closing the error and clicking "Create" will create the widget, however when I attempt to assign an spell to it I get

Widget FOO called by Beacon of Light doesn't exist

Obviously this doesn't happen after the widget is created and select in the list.

commented

Thanks, fixed

commented

I did a /apt purge