aboutsummaryrefslogtreecommitdiff
path: root/src/qt/sendcoinsdialog.cpp
diff options
context:
space:
mode:
authorJonas Schnelli <dev@jonasschnelli.ch>2017-01-06 10:42:27 +0100
committerJonas Schnelli <dev@jonasschnelli.ch>2017-01-06 10:49:49 +0100
commitc5adf8f267b2b4b633af2738c8f21005d4382496 (patch)
treec53e54680cc01d90035e92a4203429781e3f8c61 /src/qt/sendcoinsdialog.cpp
parentf646275b90b1de93bc62b4c4d045d75ac0b96eee (diff)
downloadbitcoin-c5adf8f267b2b4b633af2738c8f21005d4382496.tar.xz
[Qt] Show more significant warning if we fall back to the default fee
Diffstat (limited to 'src/qt/sendcoinsdialog.cpp')
-rw-r--r--src/qt/sendcoinsdialog.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/qt/sendcoinsdialog.cpp b/src/qt/sendcoinsdialog.cpp
index 5aeda7a30d..6180107b0e 100644
--- a/src/qt/sendcoinsdialog.cpp
+++ b/src/qt/sendcoinsdialog.cpp
@@ -655,6 +655,7 @@ void SendCoinsDialog::updateSmartFeeLabel()
std::max(CWallet::fallbackFee.GetFeePerK(), CWallet::GetRequiredFee(1000))) + "/kB");
ui->labelSmartFee2->show(); // (Smart fee not initialized yet. This usually takes a few blocks...)
ui->labelFeeEstimation->setText("");
+ ui->fallbackFeeWarningLabel->setVisible(true);
}
else
{
@@ -662,6 +663,7 @@ void SendCoinsDialog::updateSmartFeeLabel()
std::max(feeRate.GetFeePerK(), CWallet::GetRequiredFee(1000))) + "/kB");
ui->labelSmartFee2->hide();
ui->labelFeeEstimation->setText(tr("Estimated to begin confirmation within %n block(s).", "", estimateFoundAtBlocks));
+ ui->fallbackFeeWarningLabel->setVisible(false);
}
updateFeeMinimizedLabel();