Skip to content

Commit

Permalink
QML UI: Reset selection when episode list changes (bug 1804)
Browse files Browse the repository at this point in the history
This avoids having an item selected when deleting episodes or when
some other event changes the list of episodes.
  • Loading branch information
thp committed Mar 27, 2013
1 parent c1c64d1 commit 82e79a0
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions share/gpodder/ui/qml/EpisodeList.qml
Expand Up @@ -82,6 +82,9 @@ Item {
anchors.fill: parent
property int openedIndex: -1
visible: count > 0
onCountChanged: {
openedIndex = -1;
}

delegate: EpisodeItem {
id: episodeItem
Expand Down

0 comments on commit 82e79a0

Please sign in to comment.