qt,qml: move get_text_not_enough_funds_mentioning_frozen and get_frozen_balance_str to backend wallet
Note: the qt gui used to include FX in get_frozen_balance_str, but that is not replicated now.
This commit is contained in:
@@ -230,9 +230,9 @@ ElDialog {
|
||||
Connections {
|
||||
target: invoice.amountOverride
|
||||
function onSatsIntChanged() {
|
||||
console.log('amuontOverride satsIntChanged, sats=' + invoice.amountOverride.satsInt)
|
||||
console.log('amountOverride satsIntChanged, sats=' + invoice.amountOverride.satsInt)
|
||||
if (amountMax.checked) // amountOverride updated by max amount estimate
|
||||
amountBtc.text = Config.formatSats(invoice.amountOverride.satsInt)
|
||||
amountBtc.text = Config.formatSatsForEditing(invoice.amountOverride.satsInt)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -183,7 +183,7 @@ ElDialog {
|
||||
target: channelopener.amount
|
||||
function onSatsIntChanged() {
|
||||
if (is_max.checked) // amount updated by max amount estimate
|
||||
amountBtc.text = Config.formatSats(channelopener.amount.satsInt)
|
||||
amountBtc.text = Config.formatSatsForEditing(channelopener.amount.satsInt)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user