[Pkg-bitcoin-commits] [bitcoin] 02/09: Fix Qt 0.14.2->0.15.0 segfault if "total at least" is selected

Jonas Smedegaard dr at jones.dk
Tue Sep 19 13:28:39 UTC 2017


This is an automated email from the git hooks/post-receive script.

js pushed a commit to branch master
in repository bitcoin.

commit 46c8d23dad216d990564014f4c8000b79fd36f4e
Author: Matt Corallo <git at bluematt.me>
Date:   Thu Sep 14 15:32:24 2017 -0400

    Fix Qt 0.14.2->0.15.0 segfault if "total at least" is selected
    
    A button was removed, so now button(1) is nullptr
    
    Github-Pull: #11332
    Rebased-From: cdaf3a1f9e93be273ebf3e470dc709828c55476c
    Tree-SHA512: 0a49bf4e9ab08e5869170c8a212da60c9a6b90c36427d788de384aa4be6d87bb5e00a21edf78eed34f81bbc554b6f15565bb9b493dafcbfe9d6f4664d7424d9d
---
 src/qt/sendcoinsdialog.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/qt/sendcoinsdialog.cpp b/src/qt/sendcoinsdialog.cpp
index a01886c..38a4752 100644
--- a/src/qt/sendcoinsdialog.cpp
+++ b/src/qt/sendcoinsdialog.cpp
@@ -128,7 +128,7 @@ SendCoinsDialog::SendCoinsDialog(const PlatformStyle *_platformStyle, QWidget *p
     ui->groupFee->setId(ui->radioCustomFee, 1);
     ui->groupFee->button((int)std::max(0, std::min(1, settings.value("nFeeRadio").toInt())))->setChecked(true);
     ui->groupCustomFee->setId(ui->radioCustomPerKilobyte, 0);
-    ui->groupCustomFee->button((int)std::max(0, std::min(1, settings.value("nCustomFeeRadio").toInt())))->setChecked(true);
+    ui->groupCustomFee->button(0)->setChecked(true);
     ui->customFee->setValue(settings.value("nTransactionFee").toLongLong());
     ui->checkBoxMinimumFee->setChecked(settings.value("fPayOnlyMinFee").toBool());
     minimizeFeeSection(settings.value("fFeeSectionMinimized").toBool());

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-bitcoin/bitcoin.git



More information about the Pkg-bitcoin-commits mailing list