Skip to content

Commit

Permalink
Fix to use param
Browse files Browse the repository at this point in the history
  • Loading branch information
nakabonne committed May 2, 2020
1 parent c7ca554 commit ccf5ff4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/gui/gui.go
Original file line number Diff line number Diff line change
Expand Up @@ -78,5 +78,5 @@ func (g *Gui) registerPath(node *tview.TreeNode) {

// switchPanel switches to focus on the given Primitive.
func (g *Gui) switchPanel(p tview.Primitive) {
g.application.SetFocus(g.resultsItem)
g.application.SetFocus(p)
}

0 comments on commit ccf5ff4

Please sign in to comment.