|
|
@ -198,10 +198,12 @@ bool OptionsModel::setData(const QModelIndex & index, const QVariant & value, in |
|
|
|
settings.setValue("nDisplayUnit", nDisplayUnit); |
|
|
|
settings.setValue("nDisplayUnit", nDisplayUnit); |
|
|
|
emit displayUnitChanged(unit); |
|
|
|
emit displayUnitChanged(unit); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
break; |
|
|
|
case DisplayAddresses: { |
|
|
|
case DisplayAddresses: { |
|
|
|
bDisplayAddresses = value.toBool(); |
|
|
|
bDisplayAddresses = value.toBool(); |
|
|
|
settings.setValue("bDisplayAddresses", bDisplayAddresses); |
|
|
|
settings.setValue("bDisplayAddresses", bDisplayAddresses); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
break; |
|
|
|
default: |
|
|
|
default: |
|
|
|
break; |
|
|
|
break; |
|
|
|
} |
|
|
|
} |
|
|
|