From 668e912dfeaf7add2f0522685dce4eaba5eadfcd Mon Sep 17 00:00:00 2001 From: Johan Ouwerkerk Date: Sun, 29 Sep 2019 19:53:02 +0200 Subject: [PATCH] Apply the name validator to the account name input field in the QML UI. --- src/contents/ui/main.qml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/contents/ui/main.qml b/src/contents/ui/main.qml index 64273a7..8a48e95 100644 --- a/src/contents/ui/main.qml +++ b/src/contents/ui/main.qml @@ -167,6 +167,9 @@ Kirigami.ApplicationWindow { Controls.TextField { id: accountName Kirigami.FormData.label: "Account Name:" + validator: Validators.AccountNameValidator { + id: nameValidator + } } ColumnLayout { Layout.rowSpan: 2