Commit a84a4923 authored by Nicolas Fella's avatar Nicolas Fella
Browse files

Disable Next button when url field is empty

parent 58cab906
......@@ -42,6 +42,7 @@ Kirigami.Page {
Button {
text: i18n("Next")
Layout.alignment: Qt.AlignRight
enabled: serverText.text.length > 0 // TODO Do a more thorough validation of the URL
onClicked: {
helper.checkServer(serverText.text)
}
......
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