Skip to content

Commit

Permalink
QML UI: Fix back button behavior (bug 1677)
Browse files Browse the repository at this point in the history
  • Loading branch information
thp committed Sep 26, 2012
1 parent baf9d48 commit 6994f06
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion share/gpodder/ui/qml/Main.qml
Expand Up @@ -35,7 +35,9 @@ Image {
}

function goBack() {
if (contextMenu.state == 'opened') {
if (nowPlayingThrobber.opened) {
clickPlayButton()
} else if (contextMenu.state == 'opened') {
contextMenu.state = 'closed'
} else if (main.state == 'podcasts') {
mediaPlayer.stop()
Expand Down

0 comments on commit 6994f06

Please sign in to comment.