From a843c1a4e214a485459f47805d26e15a51e8a06d Mon Sep 17 00:00:00 2001 From: Adam Sher Date: Tue, 5 Dec 2023 13:34:51 -0500 Subject: [PATCH] Formatting --- src/qml/DailyLoanerDevice.qml | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/src/qml/DailyLoanerDevice.qml b/src/qml/DailyLoanerDevice.qml index b12d877..1adf743 100644 --- a/src/qml/DailyLoanerDevice.qml +++ b/src/qml/DailyLoanerDevice.qml @@ -8,23 +8,23 @@ Item { target: ui function onShowOutstandingLoansSignal(serials) { - txtInstructions.text += "\nNOTE: The following devices are currently checked out by this student: " + serials + "\n" + txtInstructions.text += "\nNOTE: The following device(s) are currently checked out by this student: " + serials + "\n" } } function verifyForm() { - if (inputSerial.text.toString().length > 0) { - btnNext.enabled = true - } - else { - btnNext.enabled = false - } + if (inputSerial.text.toString().length > 0) { + btnNext.enabled = true } - - function setFocus() { - inputSerial.focus = true - inputSerial.forceActiveFocus() + else { + btnNext.enabled = false } + } + + function setFocus() { + inputSerial.focus = true + inputSerial.forceActiveFocus() + } ColumnLayout {