Version 1.7

This commit is contained in:
OTCv8
2020-01-08 00:24:01 +01:00
parent 1d2bdf855d
commit 2a10e65ec0
42 changed files with 1157 additions and 563 deletions

View File

@@ -243,9 +243,12 @@ function sortBy(state)
refresh()
end
function onAddVip(id, name, state, description, iconId, notify)
local vipList = vipWindow:getChildById('contentsPanel')
function onAddVip(id, name, state, description, iconId, notify)
if not name or name:len() == 0 then
return
end
local vipList = vipWindow:getChildById('contentsPanel')
local childrenCount = vipList:getChildCount()
for i=1,childrenCount do
local child = vipList:getChildByIndex(i)