diff --git a/modules/core_lib/util.lua b/modules/core_lib/util.lua index b91829fd..a81cec8a 100644 --- a/modules/core_lib/util.lua +++ b/modules/core_lib/util.lua @@ -21,15 +21,16 @@ end function connect(object, signalsAndSlots, pushFront) for signal,slot in pairs(signalsAndSlots) do if not object[signal] then - object[signal] = slot + object[signal] = slot elseif type(object[signal]) == 'function' then - object[signal] = { object[signal], slot } - elseif type(object[signal]) == 'table' then - if pushFront then - table.insert(object[signal], 1, slot) - else - table.insert(object[signal], #object[signal]+1, slot) - end + object[signal] = { object[signal] } + end + if type(object[signal]) == 'table' then + if pushFront then + table.insert(object[signal], 1, slot) + else + table.insert(object[signal], #object[signal]+1, slot) + end end end end diff --git a/modules/core_styles/icons/about.png b/modules/core_styles/icons/about.png deleted file mode 100644 index 5e30545c..00000000 Binary files a/modules/core_styles/icons/about.png and /dev/null differ diff --git a/modules/core_styles/icons/settings.png b/modules/core_styles/icons/settings.png deleted file mode 100644 index 3a8aaf7a..00000000 Binary files a/modules/core_styles/icons/settings.png and /dev/null differ diff --git a/modules/core_styles/icons/terminal.png b/modules/core_styles/icons/terminal.png deleted file mode 100644 index 768c2e9e..00000000 Binary files a/modules/core_styles/icons/terminal.png and /dev/null differ diff --git a/modules/core_styles/icons/viplist.png b/modules/core_styles/icons/viplist.png deleted file mode 100644 index 2bedcaff..00000000 Binary files a/modules/core_styles/icons/viplist.png and /dev/null differ diff --git a/modules/core_styles/images/consolebutton.png b/modules/core_styles/images/consolebutton.png deleted file mode 100644 index 2b67bbd1..00000000 Binary files a/modules/core_styles/images/consolebutton.png and /dev/null differ