diff options
-rw-r--r-- | termui/bug_table.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/termui/bug_table.go b/termui/bug_table.go index cd5ee1f6..78778ec3 100644 --- a/termui/bug_table.go +++ b/termui/bug_table.go @@ -396,7 +396,7 @@ func (bt *bugTable) newBug(g *gocui.Gui, v *gocui.View) error { func (bt *bugTable) openBug(g *gocui.Gui, v *gocui.View) error { _, y := v.Cursor() - ui.showBug.SetBug(bt.bugs[bt.pageCursor+y]) + ui.showBug.SetBug(bt.bugs[y]) return ui.activateWindow(ui.showBug) } |