Commit 8b256995 authored by Lamarque Souza's avatar Lamarque Souza
Browse files

Enable dynamic sorting in active-imageviewer, the sorting is still

For some reason SortFilterModel does not sort images when imageviewer is
launched, but it does when any image is added or removed.

CCBUG: 284672
(cherry picked from commit 6d9d7bcc)
parent 1579a3c5
......@@ -100,7 +100,12 @@ PlasmaComponents.Page {
id: resultsGrid
anchors.fill: parent
model: metadataModel
model: PlasmaCore.SortFilterModel {
sourceModel: metadataModel
sortRole: "label"
sortOrder: "AscendingOrder"
delegateWidth: 130
delegateHeight: 120
delegate: MobileComponents.ResourceDelegate {
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment