ShowWidget: Restore sensitivite of the unsub button.
If you clicked unsub, then undo and then the same show widget you would navigated to the previous ShowWidget and the unsub button would still be insensitive.
This commit is contained in:
parent
0589f2fe2a
commit
7a17b3df4b
@ -145,6 +145,7 @@ fn on_unsub_button_clicked(pd: Arc<Podcast>, unsub_button: >k::Button, sender:
|
||||
};
|
||||
|
||||
wrap().map_err(|err| error!("Action Sender: {}", err)).ok();
|
||||
unsub_button.set_sensitive(true);
|
||||
}
|
||||
|
||||
fn on_played_button_clicked(pd: Arc<Podcast>, episodes: >k::Frame, sender: Sender<Action>) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user