diff options
author | Daniel Milde <daniel@milde.cz> | 2021-03-08 21:33:20 +0100 |
---|---|---|
committer | Daniel Milde <daniel@milde.cz> | 2021-03-08 21:33:20 +0100 |
commit | 00616a57fb066fb6b0f36d4fac31673b29402154 (patch) | |
tree | b6c38aeec32c7683facf07d9a54b7ca5a1e6d452 | |
parent | bbf8b74abb1f1e8e61fffc36c7fa3396c67c5ce7 (diff) |
fixed panic when right pressed while scanningv4.8.0
-rw-r--r-- | tui/keys.go | 2 |
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 } |