Commit fef23f48 authored by Ivan Čukić's avatar Ivan Čukić 👁

Better UI for the "Create a new vault" button

Summary:
The button to create a new vault now:
- has an icon "list-add"
- shows in the center of the applet when there are no existing vaults

BUG: 385972

Reviewers: #plasma, cryptodude, ngraham

Reviewed By: ngraham

Subscribers: mart, plasma-devel

Tags: #plasma

Differential Revision: https://phabricator.kde.org/D9045
parent 7f15ce92
......@@ -104,6 +104,8 @@ Item {
}
}
visible: count > 0
interactive: false
}
......@@ -111,8 +113,10 @@ Item {
id: buttonCreateNewVault
text: i18nd("plasmavault-kde", "Create a New Vault...")
iconSource: "list-add"
onClicked: vaultsModelActions.requestNewVault()
Layout.alignment: vaultsList.visible ? Qt.AlignLeft : Qt.AlignCenter
}
}
}
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