fixed not refreshing on moving cursor on tags up

This commit is contained in:
Thomas Eppers 2023-02-19 11:40:11 +01:00
parent 646e48a208
commit 017bafa19b
2 changed files with 2 additions and 0 deletions

View File

@ -73,6 +73,7 @@ impl Ui {
Ok(UiEvent::TagPrevious) => { Ok(UiEvent::TagPrevious) => {
let mut ui = ui.lock().unwrap(); let mut ui = ui.lock().unwrap();
ui.tags.previous(); ui.tags.previous();
ui.details = ui.tags.create_detail_widget();
} }
Ok(UiEvent::TagNext) => { Ok(UiEvent::TagNext) => {
let (fetched_new_tags, mut tags) = { let (fetched_new_tags, mut tags) = {

View File

@ -79,6 +79,7 @@ impl Ui {
Ok(UiEvent::TagPrevious) => { Ok(UiEvent::TagPrevious) => {
let mut ui = ui.lock().unwrap(); let mut ui = ui.lock().unwrap();
ui.tags.previous(); ui.tags.previous();
ui.details = ui.tags.create_detail_widget();
} }
Ok(UiEvent::TagNext) => { Ok(UiEvent::TagNext) => {
let (fetched_new_tags, mut tags) = { let (fetched_new_tags, mut tags) = {