Merge branch 'dev' of github.com:amnezia-vpn/amnezia-client into dev

This commit is contained in:
vladimir.kuznetsov 2023-10-14 16:58:14 +05:00
commit f5448fed59
67 changed files with 2326 additions and 752 deletions

View file

@ -12,6 +12,7 @@ Item {
property string headerTextColor: "#878b91"
property alias errorText: errorField.text
property bool checkEmptyText: false
property string buttonText
property string buttonImageSource
@ -99,6 +100,12 @@ Item {
root.errorText = ""
}
onActiveFocusChanged: {
if (checkEmptyText && textFieldText === "") {
errorText = qsTr("The field can't be empty")
}
}
MouseArea {
anchors.fill: parent
acceptedButtons: Qt.RightButton