diff options
Diffstat (limited to 'app/MediaPlayer.qml')
-rw-r--r-- | app/MediaPlayer.qml | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/app/MediaPlayer.qml b/app/MediaPlayer.qml index ba66a42..7cca337 100644 --- a/app/MediaPlayer.qml +++ b/app/MediaPlayer.qml @@ -240,13 +240,12 @@ ApplicationWindow { ToggleButton { visible: true - enabled: false checked: player.av_connected onClicked: { if (checked) - mediaplayer.disconnect() + mediaplayer.connect() else - mediaplayer.connected() + mediaplayer.disconnect() } offImage: './images/AGL_MediaPlayer_Bluetooth_Inactive.svg' onImage: './images/AGL_MediaPlayer_Bluetooth_Active.svg' |