From 8d89350b8a3b0537fd7ef438aded66fbbc287ab6 Mon Sep 17 00:00:00 2001 From: UdjinM6 Date: Thu, 1 Aug 2019 17:50:42 +0300 Subject: [PATCH] Use less alarming fee warning note (#3038) --- src/qt/forms/sendcoinsdialog.ui | 2 +- src/qt/sendcoinsdialog.cpp | 3 --- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/src/qt/forms/sendcoinsdialog.ui b/src/qt/forms/sendcoinsdialog.ui index 251013544..8162f8f0f 100644 --- a/src/qt/forms/sendcoinsdialog.ui +++ b/src/qt/forms/sendcoinsdialog.ui @@ -771,7 +771,7 @@ - Warning: Fee estimation is currently not possible. + Note: Not enough data for fee estimation, using the fallback fee instead. false diff --git a/src/qt/sendcoinsdialog.cpp b/src/qt/sendcoinsdialog.cpp index 9de6a0d0d..76490ba1c 100644 --- a/src/qt/sendcoinsdialog.cpp +++ b/src/qt/sendcoinsdialog.cpp @@ -750,9 +750,6 @@ void SendCoinsDialog::updateSmartFeeLabel() ui->labelSmartFee2->show(); // (Smart fee not initialized yet. This usually takes a few blocks...) ui->labelFeeEstimation->setText(""); ui->fallbackFeeWarningLabel->setVisible(true); - int lightness = ui->fallbackFeeWarningLabel->palette().color(QPalette::WindowText).lightness(); - QColor warning_colour(255 - (lightness / 5), 176 - (lightness / 3), 48 - (lightness / 14)); - ui->fallbackFeeWarningLabel->setStyleSheet("QLabel { color: " + warning_colour.name() + "; }"); ui->fallbackFeeWarningLabel->setIndent(QFontMetrics(ui->fallbackFeeWarningLabel->font()).width("x")); } else