diff --git a/src/MediaServer.qml b/src/MediaServer.qml --- a/src/MediaServer.qml +++ b/src/MediaServer.qml @@ -769,6 +769,11 @@ State { name: 'allAlbums' when: listViews.currentIndex === 1 + StateChangeScript { + script: { + localAlbums.stackView.pop({item: null, immediate: true}) + } + } PropertyChanges { target: mainContentView Layout.fillWidth: true @@ -816,6 +821,11 @@ State { name: 'allArtists' when: listViews.currentIndex === 2 + StateChangeScript { + script: { + localArtists.stackView.pop({item: null, immediate: true}) + } + } PropertyChanges { target: mainContentView Layout.fillWidth: true