diff --git a/electrum/gui/qml/components/controls/BtcField.qml b/electrum/gui/qml/components/controls/BtcField.qml index 9436542c1..3afeaa029 100644 --- a/electrum/gui/qml/components/controls/BtcField.qml +++ b/electrum/gui/qml/components/controls/BtcField.qml @@ -10,7 +10,7 @@ TextField { font.family: FixedFont placeholderText: qsTr('Amount') - inputMethodHints: Qt.ImhPreferNumbers + inputMethodHints: Qt.ImhDigitsOnly property Amount textAsSats onTextChanged: { textAsSats = Config.unitsToSats(amount.text) diff --git a/electrum/gui/qml/components/controls/FiatField.qml b/electrum/gui/qml/components/controls/FiatField.qml index 3c2ed376c..fff8150e0 100644 --- a/electrum/gui/qml/components/controls/FiatField.qml +++ b/electrum/gui/qml/components/controls/FiatField.qml @@ -10,7 +10,7 @@ TextField { font.family: FixedFont placeholderText: qsTr('Amount') - inputMethodHints: Qt.ImhPreferNumbers + inputMethodHints: Qt.ImhDigitsOnly onTextChanged: { if (amountFiat.activeFocus) btcfield.text = text == ''