convert the key to a string so gm-editor doesn't error on vector elements

develop
Ben Lubar 2016-05-24 13:26:16 -05:00
parent 9be928541c
commit fc311a8345
1 changed files with 1 additions and 1 deletions

@ -188,7 +188,7 @@ function GmEditorUi:find(test)
end
end
function GmEditorUi:find_id()
local key = self:getSelectedKey()
local key = tostring(self:getSelectedKey())
local id = tonumber(self:getSelectedValue())
if not id then return end
local opts = {}