Commit be3351dd authored by Nate Graham's avatar Nate Graham 🔩

[Settings page] Align header buttons and add icons

parent 68c9d420
......@@ -74,16 +74,9 @@ DiscoverPage {
}
}
Button {
visible: resourcesBackend && resourcesBackend.hasApplications
enabled: !backendItem.isDefault
text: i18n("Make default")
onClicked: ResourcesModel.currentApplicationBackend = backendItem.backend.resourcesBackend
}
Button {
text: i18n("Add Source...")
icon.name: "list-add"
visible: backendItem.backend && backendItem.backend.supportsAdding
Component {
......@@ -101,6 +94,15 @@ DiscoverPage {
addSourceDialog.open()
}
}
Button {
visible: resourcesBackend && resourcesBackend.hasApplications
enabled: !backendItem.isDefault
text: i18n("Make default")
icon.name: "favorite"
onClicked: ResourcesModel.currentApplicationBackend = backendItem.backend.resourcesBackend
}
}
}
......
Markdown is supported
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