mirror of
https://github.com/gitui-org/gitui
synced 2026-05-24 09:28:21 +00:00
clippy fix
This commit is contained in:
parent
4bd9826666
commit
510400a784
1 changed files with 5 additions and 7 deletions
|
|
@ -84,13 +84,11 @@ impl Component for CommitComponent {
|
|||
_ => EventUpdate::None,
|
||||
});
|
||||
}
|
||||
} else {
|
||||
if let Event::Key(e) = ev {
|
||||
if let keys::OPEN_COMMIT = e {
|
||||
if !self.stage_empty {
|
||||
self.show();
|
||||
return Some(EventUpdate::Changes);
|
||||
}
|
||||
} else if let Event::Key(e) = ev {
|
||||
if let keys::OPEN_COMMIT = e {
|
||||
if !self.stage_empty {
|
||||
self.show();
|
||||
return Some(EventUpdate::Changes);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue