aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPieter Wuille <pieter.wuille@gmail.com>2012-04-17 23:27:59 +0200
committerPieter Wuille <pieter.wuille@gmail.com>2012-04-17 23:27:59 +0200
commit559fc3c6107243a005138c05a69b8be491dc8066 (patch)
tree81bfd7a6fd4662e4410194b4812571fdb779a781
parent031eae78646ade3e24ed8bd75f8b1f33b2b372e4 (diff)
Add missing breaks in optionmodel's switch case
-rw-r--r--src/qt/optionsmodel.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/qt/optionsmodel.cpp b/src/qt/optionsmodel.cpp
index f7d9b0da2e..2210c4dd76 100644
--- a/src/qt/optionsmodel.cpp
+++ b/src/qt/optionsmodel.cpp
@@ -198,10 +198,12 @@ bool OptionsModel::setData(const QModelIndex & index, const QVariant & value, in
settings.setValue("nDisplayUnit", nDisplayUnit);
emit displayUnitChanged(unit);
}
+ break;
case DisplayAddresses: {
bDisplayAddresses = value.toBool();
settings.setValue("bDisplayAddresses", bDisplayAddresses);
}
+ break;
default:
break;
}