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

Put the refresh action on the left

Rather than on the contextual actions that incidentally go on the right of the
main action.

Reviewers: ngraham

Reviewed By: ngraham

Subscribers: plasma-devel

Tags: #plasma

Differential Revision:
parent c495b702
......@@ -32,8 +32,6 @@ DiscoverPage
contextualActions: [refreshAction]
UpdateModel {
id: updateModel
backend: resourcesUpdatesModel
......@@ -60,7 +58,10 @@ DiscoverPage
readonly property int unselected: (updateModel.totalUpdatesCount - updateModel.toUpdateCount)
readonly property QtObject currentAction: resourcesUpdatesModel.isProgressing ? cancelUpdateAction : updateAction
actions.main: currentAction
actions {
left: refreshAction
main: currentAction
header: QQC2.ToolBar {
visible: (updateModel.totalUpdatesCount > 0 && resourcesUpdatesModel.isProgressing) || updateModel.hasUpdates
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