summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Milde <daniel@milde.cz>2021-03-08 21:33:20 +0100
committerDaniel Milde <daniel@milde.cz>2021-03-08 21:33:20 +0100
commit00616a57fb066fb6b0f36d4fac31673b29402154 (patch)
treeb6c38aeec32c7683facf07d9a54b7ca5a1e6d452
parentbbf8b74abb1f1e8e61fffc36c7fa3396c67c5ce7 (diff)
fixed panic when right pressed while scanningv4.8.0
-rw-r--r--tui/keys.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/tui/keys.go b/tui/keys.go
index 06c7205..ee470e3 100644
--- a/tui/keys.go
+++ b/tui/keys.go
@@ -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
}