From bd10ed93af56561c9024b85775b3db6929e05e8b Mon Sep 17 00:00:00 2001 From: Julian Hofer Date: Sat, 27 Jul 2019 11:11:40 +0200 Subject: [PATCH] player: Playback rate is reset when episode is started When an episode is started the "radio_normal"-button is set to true. Fixes #65 --- podcasts-gtk/src/widgets/player.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/podcasts-gtk/src/widgets/player.rs b/podcasts-gtk/src/widgets/player.rs index e0c84a8..ef1739d 100644 --- a/podcasts-gtk/src/widgets/player.rs +++ b/podcasts-gtk/src/widgets/player.rs @@ -326,6 +326,7 @@ impl PlayerWidget { let uri = File::new_for_path(path).get_uri(); // play the file self.player.set_uri(uri.as_str()); + self.rate.radio_normal.set_active(true); self.play(); return Ok(()); }