From 7b71f59d3ef804933d2957ea69feceee7bb55a3f Mon Sep 17 00:00:00 2001 From: Jordan Petridis Date: Sun, 15 Apr 2018 23:53:28 +0300 Subject: [PATCH] ShowWidget: Make unsub button insensitive instead of hidding it. --- hammond-gtk/src/widgets/show.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hammond-gtk/src/widgets/show.rs b/hammond-gtk/src/widgets/show.rs index 7f2249b..8191866 100644 --- a/hammond-gtk/src/widgets/show.rs +++ b/hammond-gtk/src/widgets/show.rs @@ -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)?;