Commit 9c89d54f authored by Nate Graham's avatar Nate Graham 🔩

Merge branch 'Plasma/5.14'

parents e27d6880 aba7a165
......@@ -126,12 +126,7 @@ Item {
QtControls.Label {
text: model.name
anchors {
left: icon.right
right: buttons.left
leftMargin: units.largeSpacing
verticalCenter: icon.verticalCenter
}
anchors.fill: parent
}
Row {
......@@ -162,6 +157,9 @@ Item {
onClicked: ActivitySettings.deleteActivity(model.id);
visible: ActivitySettings.newActivityAuthorized
// Disable the button when there's only one activity
enabled: activitiesList.count > 1
}
visible: !dialogDeleteLoader.itemVisible
......
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