Skip to content

Commit

Permalink
Fix SelectView clippy warning
Browse files Browse the repository at this point in the history
Fixes: c173bbf ("Support autojump in popup SelectView (#793)")
  • Loading branch information
bgilbert committed Jun 18, 2024
1 parent 17b97a9 commit 51f9cb3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cursive-core/src/views/select_view.rs
Original file line number Diff line number Diff line change
Expand Up @@ -825,7 +825,7 @@ impl<T: 'static + Send + Sync> SelectView<T> {
position,
offset,
} if position.fits_in_rect(offset, self.last_size) => self.open_popup(),
Event::Char(c) if self.autojump => return self.on_char_event(c),
Event::Char(c) if self.autojump => self.on_char_event(c),
_ => EventResult::Ignored,
}
}
Expand Down

0 comments on commit 51f9cb3

Please sign in to comment.