From a30edde7d0e50e9952ac96e78d691cc6ca902ef0 Mon Sep 17 00:00:00 2001 From: Cooldude2606 Date: Sun, 20 Aug 2017 21:35:38 +0100 Subject: [PATCH] Last Fix --- locale/ExpGaming-Core/GUI/ExpGaming - Popup.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/locale/ExpGaming-Core/GUI/ExpGaming - Popup.lua b/locale/ExpGaming-Core/GUI/ExpGaming - Popup.lua index 76f2391d..21192e28 100644 --- a/locale/ExpGaming-Core/GUI/ExpGaming - Popup.lua +++ b/locale/ExpGaming-Core/GUI/ExpGaming - Popup.lua @@ -45,7 +45,7 @@ function add_frame.popup(style,default_display,default_tooltip,restriction,on_cl if not style then error('Popup style requires a name') end if not event or type(event) ~= 'function' then error('Popup style requires a draw function') end local restriction = restriction or 0 - table.insert(frames.popup,{style=style,display=default_display,on_click=on_click,event=event}) + table.insert(frames.popup,{name=style,display=default_display,on_click=on_click,event=event}) if on_click and type(on_click) == 'function' then ExpGui.toolbar.add_button(style,default_display,default_tooltip,restriction,draw_frame.popup_button) end