Commit ce0de722 authored by Aleix Pol Gonzalez's avatar Aleix Pol Gonzalez 🐧
Browse files

Show checkable actions as such

parent cd998c2e
......@@ -70,6 +70,7 @@ DiscoverPage {
appsModel.sortRole = ResourcesProxyModel.NameRole
appsModel.sortOrder = Qt.AscendingOrder
}
checkable: true
checked: appsModel.sortRole == ResourcesProxyModel.NameRole
}
Kirigami.Action {
......@@ -78,6 +79,7 @@ DiscoverPage {
appsModel.sortRole = ResourcesProxyModel.RatingPointsRole
appsModel.sortOrder = Qt.AscendingOrder
}
checkable: true
checked: appsModel.sortRole == ResourcesProxyModel.RatingPointsRole
}
Kirigami.Action {
......@@ -86,6 +88,7 @@ DiscoverPage {
appsModel.sortRole = ResourcesProxyModel.SizeRole
appsModel.sortOrder = Qt.AscendingOrder
}
checkable: true
checked: appsModel.sortRole == ResourcesProxyModel.SizeRole
}
}
......
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