From 5fb445b49e80812f004f00d5adf8fdd39bec557f Mon Sep 17 00:00:00 2001 From: Philip Kaufmann Date: Sat, 18 Aug 2012 15:54:39 +0200 Subject: Bitcoin-Qt: add a Reset button to the options dialog - a click on "Reset Options" sets all options to the default values by removing all stored settings (QSettings), loading the defaults and saving them as the new settings - before the reset is executed the user is presented a confirmation dialog - special casing was needed for StartAtStartup --- src/qt/forms/optionsdialog.ui | 34 ++++++++++++++++++++++++++++++++-- 1 file changed, 32 insertions(+), 2 deletions(-) (limited to 'src/qt/forms/optionsdialog.ui') diff --git a/src/qt/forms/optionsdialog.ui b/src/qt/forms/optionsdialog.ui index 6a13361974..3771f9de63 100644 --- a/src/qt/forms/optionsdialog.ui +++ b/src/qt/forms/optionsdialog.ui @@ -44,7 +44,7 @@ - + @@ -62,7 +62,7 @@ - + Qt::Horizontal @@ -99,6 +99,36 @@ + + + + + + Qt::Horizontal + + + + 40 + 20 + + + + + + + + Reset all client options to default. + + + &Reset Options + + + false + + + + + -- cgit v1.2.3