Change Coin Control first column label

Github-Pull: #5720
Rebased-From: 55eade9d46
This commit is contained in:
fsb4000 2015-01-29 01:25:11 +06:00 committed by Wladimir J. van der Laan
parent c5044bc169
commit b61940b3a1
No known key found for this signature in database
GPG Key ID: 74810B012346C9A6

View File

@ -116,6 +116,10 @@ CoinControlDialog::CoinControlDialog(QWidget *parent) :
// (un)select all
connect(ui->pushButtonSelectAll, SIGNAL(clicked()), this, SLOT(buttonSelectAllClicked()));
// change coin control first column label due Qt4 bug.
// see https://github.com/bitcoin/bitcoin/issues/5716
ui->treeWidget->headerItem()->setText(COLUMN_CHECKBOX, QString());
ui->treeWidget->setColumnWidth(COLUMN_CHECKBOX, 84);
ui->treeWidget->setColumnWidth(COLUMN_AMOUNT, 100);
ui->treeWidget->setColumnWidth(COLUMN_LABEL, 170);