Merge remote-tracking branch 'blueyed/fix-restore-in-tag.delete'

This commit is contained in:
Uli Schlachter 2014-03-29 18:12:37 +01:00
commit 2dc28b29e9
1 changed files with 1 additions and 1 deletions

View File

@ -158,7 +158,7 @@ function tag.delete(target_tag, fallback_tag)
-- If no tags are visible, try and view one.
if tag.selected(target_scr) == nil and ntags > 0 then
tag.history.restore()
tag.history.restore(nil, 1)
if tag.selected(target_scr) == nil then
tag.gettags(target_scr)[1].selected = true
end