Merge pull request #96 from blueyed/emit-tag-history-update-from-restore

Emit tag::history::update signal from tag.history.restore
This commit is contained in:
Daniel Hahler 2015-02-14 14:55:28 +01:00
commit ffa0001d34
1 changed files with 2 additions and 0 deletions

View File

@ -275,6 +275,8 @@ function tag.history.restore(screen, idx)
data.history[s].previous = setmetatable(sel, { __mode = 'v' })
-- remove the reverted history entry
if i ~= "previous" then table.remove(data.history[s], i) end
capi.screen[s]:emit_signal("tag::history::update")
end
--- Get a list of all tags on a screen