From 2221230e7df66ce86ec51c1b7dbe04f1a0508266 Mon Sep 17 00:00:00 2001 From: Cozz Lovan Date: Mon, 17 Mar 2014 14:04:56 +0100 Subject: [PATCH] [Qt] add expert section to wallet tab in optionsdialog --- src/qt/forms/optionsdialog.ui | 59 +++++++++++++++++------------------ src/qt/optionsdialog.cpp | 2 +- 2 files changed, 30 insertions(+), 31 deletions(-) diff --git a/src/qt/forms/optionsdialog.ui b/src/qt/forms/optionsdialog.ui index 93c557073..b5e4c4914 100644 --- a/src/qt/forms/optionsdialog.ui +++ b/src/qt/forms/optionsdialog.ui @@ -189,26 +189,6 @@ - - - - If you disable the spending of unconfirmed change, the change from a transaction cannot be used until that transaction has at least one confirmation. This also affects how your balance is computed. - - - Qt::PlainText - - - true - - - - - - - &Spend unconfirmed change (experts only) - - - @@ -222,6 +202,35 @@ + + + + Expert + + + + + + Whether to show coin control features or not. + + + Enable coin &control features + + + + + + + If you disable the spending of unconfirmed change, the change from a transaction cannot be used until that transaction has at least one confirmation. This also affects how your balance is computed. + + + &Spend unconfirmed change + + + + + + @@ -468,16 +477,6 @@ - - - - Whether to show coin control features or not. - - - Display coin &control features (experts only) - - - diff --git a/src/qt/optionsdialog.cpp b/src/qt/optionsdialog.cpp index 2e1ebf24f..a02c07dd7 100644 --- a/src/qt/optionsdialog.cpp +++ b/src/qt/optionsdialog.cpp @@ -161,6 +161,7 @@ void OptionsDialog::setMapper() /* Wallet */ mapper->addMapping(ui->transactionFee, OptionsModel::Fee); mapper->addMapping(ui->spendZeroConfChange, OptionsModel::SpendZeroConfChange); + mapper->addMapping(ui->coinControlFeatures, OptionsModel::CoinControlFeatures); /* Network */ mapper->addMapping(ui->mapPortUpnp, OptionsModel::MapPortUPnP); @@ -180,7 +181,6 @@ void OptionsDialog::setMapper() mapper->addMapping(ui->lang, OptionsModel::Language); mapper->addMapping(ui->unit, OptionsModel::DisplayUnit); mapper->addMapping(ui->displayAddresses, OptionsModel::DisplayAddresses); - mapper->addMapping(ui->coinControlFeatures, OptionsModel::CoinControlFeatures); } void OptionsDialog::enableOkButton()