1
mirror of https://github.com/monero-project/monero-gui synced 2024-12-29 23:26:24 +01:00

Transfer: fix NaN fiat conversion

This commit is contained in:
selsta 2019-11-25 00:57:59 +01:00
parent 2f5c47e95f
commit 06ccded94e
No known key found for this signature in database
GPG Key ID: 2EA0A99A8B07AE5E

View File

@ -168,7 +168,7 @@ Rectangle {
labelText: qsTr("<style type='text/css'>a {text-decoration: none; color: #858585; font-size: 14px;}</style>\
Amount <font size='2'> ( </font> <a href='#'>Change account</a><font size='2'> )</font>")
+ translationManager.emptyString
copyButton: persistentSettings.fiatPriceEnabled
copyButton: !isNaN(amountLine.text) && persistentSettings.fiatPriceEnabled
copyButtonText: fiatApiCurrencySymbol() + " ~" + fiatApiConvertToFiat(amountLine.text)
copyButtonEnabled: false