Skip to content

Commit

Permalink
GUI: Disable coin control (non-functional)
Browse files Browse the repository at this point in the history
  • Loading branch information
luke-jr authored and instagibbs committed Apr 10, 2019
1 parent 82dfd3f commit 20bf9c5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions src/qt/optionsdialog.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,8 @@ OptionsDialog::OptionsDialog(QWidget *parent, bool enableWallet) :
{
ui->setupUi(this);

ui->coinControlFeatures->setEnabled(false);

/* Main elements init */
ui->databaseCache->setMinimum(nMinDbCache);
ui->databaseCache->setMaximum(nMaxDbCache);
Expand Down
2 changes: 1 addition & 1 deletion src/qt/optionsmodel.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ void OptionsModel::Init(bool resetSettings)

if (!settings.contains("fCoinControlFeatures"))
settings.setValue("fCoinControlFeatures", false);
fCoinControlFeatures = settings.value("fCoinControlFeatures", false).toBool();
fCoinControlFeatures = false;

// These are shared with the core or have a command-line parameter
// and we want command-line parameters to overwrite the GUI settings.
Expand Down

0 comments on commit 20bf9c5

Please sign in to comment.