reselect after quitting search mode

This commit is contained in:
figsoda 2020-11-08 11:47:03 -05:00
parent 973159e005
commit e7950ae48e

View file

@ -536,6 +536,8 @@ async fn run() -> Result<()> {
}
Command::ClearQuery => {
query.clear();
selected = status.song.map_or(0, |song| song.pos);
liststate.select(Some(selected));
tx.send(Command::UpdateFrame).await?;
}
}