diff options
Diffstat (limited to 'app/MediaPlayer.qml')
-rw-r--r-- | app/MediaPlayer.qml | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/app/MediaPlayer.qml b/app/MediaPlayer.qml index ec7b4e0..c859509 100644 --- a/app/MediaPlayer.qml +++ b/app/MediaPlayer.qml @@ -195,6 +195,7 @@ ApplicationWindow { id: previous offImage: './images/AGL_MediaPlayer_BackArrow.svg' onClicked: { + radio.stop() mediaplayer.previous() } } @@ -216,7 +217,10 @@ ApplicationWindow { PropertyChanges { target: play offImage: './images/AGL_MediaPlayer_Player_Play.svg' - onClicked: mediaplayer.play() + onClicked: { + radio.stop() + mediaplayer.play() + } } } ] @@ -225,6 +229,7 @@ ApplicationWindow { id: forward offImage: './images/AGL_MediaPlayer_ForwardArrow.svg' onClicked: { + radio.stop() mediaplayer.next() } } @@ -294,6 +299,7 @@ ApplicationWindow { //} } onClicked: { + radio.stop() mediaplayer.picktrack(playlistview.model[index].index) } } |