Neuron

Neuron

98.2k Downloads

Error when deleting bars from the new GUI

brittyazel opened this issue ยท 0 comments

commented

With the editor open, deleting a bar immediately results in the following bug report. The bug happens 'before' clicking "accept" on the prompt that asks "Are you sure you want to delete this button?"

4x Neuron/GUI/MainWindow.lua:24: attempt to index field 'NeuronEditor' (a nil value)
[string "@Neuron/GUI/MainWindow.lua"]:24: in function `RefreshEditor'
[string "@Neuron/GUI/BarEditTab_GeneralConfigPanel.lua"]:739: in function `OnCancel'
[string "@FrameXML/StaticPopup.lua"]:5304: in function `StaticPopup_OnClick'
[string "*StaticPopup.xml:24_OnClick"]:1: in function <[string "*StaticPopup.xml:24_OnClick"]:1>

Locals:
self = <table> {
 PopulateGeneralBarOptions = <function> defined @Neuron/GUI/BarEditTab_GeneralConfigPanel.lua:109
 GeneralConfigPanel = <function> defined @Neuron/GUI/BarEditTab_GeneralConfigPanel.lua:20
 CreateIconSelector = <function> defined @Neuron/GUI/IconSelectorPanel.lua:28
 BarStatesPanel = <function> defined @Neuron/GUI/BarEditTab_BarStatesPanel.lua:89
 DestroyEditor = <function> defined @Neuron/GUI/MainWindow.lua:74
 BarEditPanel = <function> defined @Neuron/GUI/BarEditTab.lua:20
 SelectInnerBarTab = <function> defined @Neuron/GUI/BarEditTab.lua:140
 PopulateVisualBarOptions = <function> defined @Neuron/GUI/BarEditTab_GeneralConfigPanel.lua:466
 updateBarName = <function> defined @Neuron/GUI/BarEditTab_GeneralConfigPanel.lua:745
 ButtonsEditPanel = <function> defined @Neuron/GUI/ButtonEditTab.lua:165
 CreateEditor = <function> defined @Neuron/GUI/MainWindow.lua:41
 DeleteBarPopup = <function> defined @Neuron/GUI/BarEditTab_GeneralConfigPanel.lua:731
 CreateIconSelectorInternals = <function> defined @Neuron/GUI/IconSelectorPanel.lua:53
 BarVisibilityPanel = <function> defined @Neuron/GUI/BarEditTab_BarVisibilityPanel.lua:48
 SelectTab = <function> defined @Neuron/GUI/MainWindow.lua:119
 GenerateIconList = <function> defined @Neuron/GUI/IconSelectorPanel.lua:149
 ButtonStatusEditPanel = <function> defined @Neuron/GUI/ButtonStatusEditTab.lua:165
 RefreshEditor = <function> defined @Neuron/GUI/MainWindow.lua:23
 IconFrame_OnClick = <function> defined @Neuron/GUI/IconSelectorPanel.lua:24
 LoadInterfaceOptions = <function> defined @Neuron/GUI/InterfacePanel.lua:172
 PopulateLayoutBarOptions = <function> defined @Neuron/GUI/BarEditTab_GeneralConfigPanel.lua:254
 RefreshIconSelector = <function> defined @Neuron/GUI/IconSelectorPanel.lua:48
 PopulateEditorWindow = <function> defined @Neuron/GUI/MainWindow.lua:84
}
defaultTab = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = "attempt to index field 'NeuronEditor' (a nil value)"
addonTable = <table> {
 databaseDefaults = <table> {
 }
 defaultProfile = <table> {
 }
 Neuron = Frame {
 }
 utilities = <table> {
 }
}
currentTab = "bar"
NeuronGUI = <table> {
 PopulateGeneralBarOptions = <function> defined @Neuron/GUI/BarEditTab_GeneralConfigPanel.lua:109
 GeneralConfigPanel = <function> defined @Neuron/GUI/BarEditTab_GeneralConfigPanel.lua:20
 CreateIconSelector = <function> defined @Neuron/GUI/IconSelectorPanel.lua:28
 BarStatesPanel = <function> defined @Neuron/GUI/BarEditTab_BarStatesPanel.lua:89
 DestroyEditor = <function> defined @Neuron/GUI/MainWindow.lua:74
 BarEditPanel = <function> defined @Neuron/GUI/BarEditTab.lua:20
 SelectInnerBarTab = <function> defined @Neuron/GUI/BarEditTab.lua:140
 PopulateVisualBarOptions = <function> defined @Neuron/GUI/BarEditTab_GeneralConfigPanel.lua:466
 updateBarName = <function> defined @Neuron/GUI/BarEditTab_GeneralConfigPanel.lua:745
 ButtonsEditPanel = <function> defined @Neuron/GUI/ButtonEditTab.lua:165
 CreateEditor = <function> defined @Neuron/GUI/MainWindow.lua:41
 DeleteBarPopup = <function> defined @Neuron/GUI/BarEditTab_GeneralConfigPanel.lua:731
 CreateIconSelectorInternals = <function> defined @Neuron/GUI/IconSelectorPanel.lua:53
 BarVisibilityPanel = <function> defined @Neuron/GUI/BarEditTab_BarVisibilityPanel.lua:48
 SelectTab = <function> defined @Neuron/GUI/MainWindow.lua:119
 GenerateIconList = <function> defined @Inter