@ -230,13 +230,4 @@ Pane {
}
Connections {
target: Daemon.fx
function onQuotesUpdated() {
amountFiat.text = amount.text == ''
? ''
: Daemon.fx.fiatValue(Config.unitsToSats(amount.text))
@ -244,15 +244,6 @@ Pane {
// make clicking the dialog background move the scope away from textedit fields
// so the keyboard goes away
MouseArea {
@ -15,4 +15,14 @@ TextField {
if (amountFiat.activeFocus)
btcfield.text = text == '' ? '' : Config.satsToUnits(Daemon.fx.satoshiValue(amountFiat.text))
amountFiat.text = btcfield.text == ''
: Daemon.fx.fiatValue(Config.unitsToSats(btcfield.text))