aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--components/HistoryTable.qml2
-rw-r--r--src/libwalletqt/TransactionInfo.cpp2
2 files changed, 3 insertions, 1 deletions
diff --git a/components/HistoryTable.qml b/components/HistoryTable.qml
index 082822d3..37665f15 100644
--- a/components/HistoryTable.qml
+++ b/components/HistoryTable.qml
@@ -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"
diff --git a/src/libwalletqt/TransactionInfo.cpp b/src/libwalletqt/TransactionInfo.cpp
index 5ad739bf..a787b151 100644
--- a/src/libwalletqt/TransactionInfo.cpp
+++ b/src/libwalletqt/TransactionInfo.cpp
@@ -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());
}