From 71f82bf2ab6f5ddcbf155ae0c1dcc4606b51c451 Mon Sep 17 00:00:00 2001 From: langerhans Date: Mon, 7 Apr 2014 19:26:30 +0200 Subject: [PATCH] Restart-warning for spendZeroConfChange option According to the options model, a restart is required after changing this option. So let's notify the user about it. --- src/qt/optionsdialog.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/qt/optionsdialog.cpp b/src/qt/optionsdialog.cpp index 977f7f4da..394b5f3ae 100644 --- a/src/qt/optionsdialog.cpp +++ b/src/qt/optionsdialog.cpp @@ -145,6 +145,8 @@ void OptionsDialog::setModel(OptionsModel *model) /* Main */ connect(ui->databaseCache, SIGNAL(valueChanged(int)), this, SLOT(showRestartWarning())); connect(ui->threadsScriptVerif, SIGNAL(valueChanged(int)), this, SLOT(showRestartWarning())); + /* Wallet */ + connect(ui->spendZeroConfChange, SIGNAL(clicked(bool)), this, SLOT(showRestartWarning())); /* Network */ connect(ui->connectSocks, SIGNAL(clicked(bool)), this, SLOT(showRestartWarning())); /* Display */