qml: reset viewProperties when changing view
commit277f955a393b48c86e061d1d29eb8f472a86c7f4
authorPierre Lamot <pierre@videolabs.io>
Thu, 30 Jan 2020 12:35:22 +0000 (30 13:35 +0100)
committerJean-Baptiste Kempf <jb@videolan.org>
Fri, 14 Feb 2020 10:56:54 +0000 (14 11:56 +0100)
tree998a8a8ae3055393d67b4e968afcf2f43590a2b8
parent87706ebbdca372b2ec4394d9e37997406c9f0d8b
qml: reset viewProperties when changing view

  when changing view, viewProperties from the previous view may be applied
  on the new view.

  for instance, when navigating from genre > album(filtered with genre) >
  tracks the track list ended up filtered by the genre of the previous view

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
modules/gui/qt/medialibrary/qml/MainDisplay.qml
modules/gui/qt/medialibrary/qml/MusicDisplay.qml