aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWladimir J. van der Laan <laanwj@gmail.com>2012-04-17 14:33:26 -0700
committerWladimir J. van der Laan <laanwj@gmail.com>2012-04-17 14:33:26 -0700
commitac4161e25df2a9475abb0f62d32a7d86d6baff0f (patch)
tree81bfd7a6fd4662e4410194b4812571fdb779a781
parent031eae78646ade3e24ed8bd75f8b1f33b2b372e4 (diff)
parent559fc3c6107243a005138c05a69b8be491dc8066 (diff)
Merge pull request #1118 from sipa/addbreaks
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;
}