mirror of
https://github.com/monero-project/monero-gui.git
synced 2024-12-23 03:59:38 +00:00
transactionInfo: use empty str when fee=0
This commit is contained in:
parent
8553771f89
commit
c72207c2e2
2 changed files with 3 additions and 1 deletions
|
@ -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());
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue