Merge pull request #933 from BenLubar/gm-editor-vector-i

fix 'find id' shortcut in gui/gm-editor for vectors
develop
Lethosor 2016-05-25 20:11:50 -04:00
commit 42c9cdbb81
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 = {}