player: Playback rate is reset when episode is started

When an episode	is started the "radio_normal"-button is
set to true.
Fixes #65
This commit is contained in:
Julian Hofer 2019-07-27 11:11:40 +02:00 committed by Jordan Petridis
parent c3351f01e4
commit bd10ed93af
No known key found for this signature in database
GPG Key ID: E8523968931763BE

View File

@ -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(());
}