Skip to content

Commit

Permalink
fixed panic when right pressed while scanning
Browse files Browse the repository at this point in the history
  • Loading branch information
dundee committed Mar 8, 2021
1 parent bbf8b74 commit 00616a5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tui/keys.go
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ func (ui *UI) handleLeft() {
}

func (ui *UI) handleRight() {
if ui.pages.HasPage("confirm") {
if ui.pages.HasPage("confirm") || ui.pages.HasPage("progress") {
return
}

Expand Down

0 comments on commit 00616a5

Please sign in to comment.