transactionInfo: use empty str when fee=0

pull/2/head
Jaquee 7 years ago
parent 8553771f89
commit c72207c2e2

@ -383,7 +383,7 @@ ListView {
Column {
anchors.top: parent.top
width: 148
visible: isOut
visible: isOut && fee != ""
Text {
anchors.left: parent.left
font.family: "Arial"

@ -38,6 +38,8 @@ QString TransactionInfo::displayAmount() const
QString TransactionInfo::fee() const
{
if(m_pimpl->fee() == 0)
return "";
return WalletManager::instance()->displayAmount(m_pimpl->fee());
}