Skip to content

Commit

Permalink
Merge pull request DFHack#933 from BenLubar/gm-editor-vector-i
Browse files Browse the repository at this point in the history
fix 'find id' shortcut in gui/gm-editor for vectors
  • Loading branch information
lethosor committed May 26, 2016
2 parents 61bff2f + fc311a8 commit 42c9cdb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/gui/gm-editor.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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 = {}
Expand Down

0 comments on commit 42c9cdb

Please sign in to comment.