[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    [elisa/genericModel] src/qml: when showing all artists, reset the genre filter
From:       Matthieu Gallien <null () kde ! org>
Date:       2018-05-31 19:54:21
Message-ID: E1fOTeP-0003Fp-Aw () code ! kde ! org
[Download RAW message or body]

Git commit f449d2b491a6f03d6b64d6eaf103be664cef0666 by Matthieu Gallien.
Committed on 31/05/2018 at 19:53.
Pushed by mgallien into branch 'genericModel'.

when showing all artists, reset the genre filter

M  +1    -0    src/qml/ContentView.qml

https://commits.kde.org/elisa/f449d2b491a6f03d6b64d6eaf103be664cef0666

diff --git a/src/qml/ContentView.qml b/src/qml/ContentView.qml
index 727a4f9..b0461c0 100644
--- a/src/qml/ContentView.qml
+++ b/src/qml/ContentView.qml
@@ -56,6 +56,7 @@ RowLayout {
         }
 
         onSwitchAllArtistsView: {
+            elisa.allArtistsProxyModel.genreFilterText = ''
             listViews.currentIndex = 2
             localArtistsLoader.opacity = 1
             localTracksLoader.opacity = 0

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic