transactionInfo: use empty str when fee=0

This commit is contained in:
Jaquee 2017-08-06 16:48:18 +02:00
parent 8553771f89
commit c72207c2e2
2 changed files with 3 additions and 1 deletions

View file

@ -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"

View file

@ -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());
}