Skip to content

Commit 00ebbcf

Browse files
authored
Merge pull request #402 from Esri/jared/onenterpressed
moving onAccepted from DialogButtonBox to the Dialog itself
2 parents c494fb9 + b9cb366 commit 00ebbcf

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

uitools/import/Esri/ArcGISRuntime/Toolkit/UserCredentialsView.qml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -46,15 +46,15 @@ Dialog {
4646
text: qsTr("Continue")
4747
DialogButtonBox.buttonRole: DialogButtonBox.AcceptRole
4848
}
49+
}
4950

50-
onAccepted: {
51-
controller.continueWithUsernamePassword(usernameTextField.text,
52-
passwordTextField.text);
53-
}
51+
onAccepted: {
52+
controller.continueWithUsernamePassword(usernameTextField.text,
53+
passwordTextField.text);
54+
}
5455

55-
onRejected: {
56-
controller.cancel();
57-
}
56+
onRejected: {
57+
controller.cancel();
5858
}
5959

6060
ColumnLayout {

0 commit comments

Comments
 (0)