Skip to content

Commit c596efc

Browse files
committed
qml: Allow TextFields to be selectable in RequestPayment
1 parent f58aed8 commit c596efc

File tree

3 files changed

+3
-0
lines changed

3 files changed

+3
-0
lines changed

src/qml/controls/LabeledTextInput.qml

+1
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ Item {
4040
color: Theme.color.neutral9
4141
placeholderTextColor: Theme.color.neutral7
4242
background: Item {}
43+
selectByMouse: true
4344
onTextEdited: root.textEdited()
4445
}
4546

src/qml/pages/wallet/RequestConfirmation.qml

+1
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,7 @@ Page {
107107
placeholderText: "0.00000000"
108108
text: request.amount
109109
enabled: false
110+
selectByMouse: true
110111
onTextChanged: {
111112
bitcoinAmountText.text = bitcoinAmount.sanitize(bitcoinAmountText.text)
112113
}

src/qml/pages/wallet/RequestPayment.qml

+1
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,7 @@ PageStack {
8989
placeholderTextColor: Theme.color.neutral7
9090
background: Item {}
9191
placeholderText: "0.00000000"
92+
selectByMouse: true
9293
onTextEdited: {
9394
amountInput.text = bitcoinAmount.sanitize(amountInput.text)
9495
}

0 commit comments

Comments
 (0)