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:
parent
c3351f01e4
commit
bd10ed93af
@ -326,6 +326,7 @@ impl PlayerWidget {
|
|||||||
let uri = File::new_for_path(path).get_uri();
|
let uri = File::new_for_path(path).get_uri();
|
||||||
// play the file
|
// play the file
|
||||||
self.player.set_uri(uri.as_str());
|
self.player.set_uri(uri.as_str());
|
||||||
|
self.rate.radio_normal.set_active(true);
|
||||||
self.play();
|
self.play();
|
||||||
return Ok(());
|
return Ok(());
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user