mirror of
https://github.com/figsoda/mmtc
synced 2025-02-16 21:38:38 +00:00
reselect after quitting search mode
This commit is contained in:
parent
973159e005
commit
e7950ae48e
1 changed files with 2 additions and 0 deletions
|
@ -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?;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue