ShowWidget: Make unsub button insensitive instead of hidding it.
This commit is contained in:
parent
76c177bc0f
commit
7b71f59d3e
@ -133,7 +133,7 @@ fn on_unsub_button_clicked(
|
|||||||
) -> Result<(), Error> {
|
) -> Result<(), Error> {
|
||||||
// hack to get away without properly checking for none.
|
// hack to get away without properly checking for none.
|
||||||
// if pressed twice would panic.
|
// if pressed twice would panic.
|
||||||
unsub_button.hide();
|
unsub_button.set_sensitive(false);
|
||||||
sender.send(Action::RemoveShow(pd))?;
|
sender.send(Action::RemoveShow(pd))?;
|
||||||
|
|
||||||
sender.send(Action::HeaderBarNormal)?;
|
sender.send(Action::HeaderBarNormal)?;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user