diff options
author | Wladimir J. van der Laan <laanwj@gmail.com> | 2012-04-17 14:33:26 -0700 |
---|---|---|
committer | Wladimir J. van der Laan <laanwj@gmail.com> | 2012-04-17 14:33:26 -0700 |
commit | ac4161e25df2a9475abb0f62d32a7d86d6baff0f (patch) | |
tree | 81bfd7a6fd4662e4410194b4812571fdb779a781 | |
parent | 031eae78646ade3e24ed8bd75f8b1f33b2b372e4 (diff) | |
parent | 559fc3c6107243a005138c05a69b8be491dc8066 (diff) |
Merge pull request #1118 from sipa/addbreaks
Add missing breaks in optionmodel's switch case
-rw-r--r-- | src/qt/optionsmodel.cpp | 2 |
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; } |