ShowWidget: Make unsub button insensitive instead of hidding it.

This commit is contained in:
Jordan Petridis 2018-04-15 23:53:28 +03:00
parent 76c177bc0f
commit 7b71f59d3e
No known key found for this signature in database
GPG Key ID: CEABAD9F5683B9A6

View File

@ -133,7 +133,7 @@ fn on_unsub_button_clicked(
) -> Result<(), Error> {
// hack to get away without properly checking for none.
// if pressed twice would panic.
unsub_button.hide();
unsub_button.set_sensitive(false);
sender.send(Action::RemoveShow(pd))?;
sender.send(Action::HeaderBarNormal)?;