Commit f6fb5c1e authored by Laurent Montel's avatar Laurent Montel 😁

Save/load wrap text settings

parent 34e8f95f
......@@ -87,12 +87,14 @@ void SieveEditorConfigureDialog::loadServerSieveConfig()
{
mServerWidget->readConfig();
PimCommon::ConfigureImmutableWidgetUtils::loadWidget(mCloseWallet, SieveEditorGlobalConfig::self()->closeWalletItem());
PimCommon::ConfigureImmutableWidgetUtils::loadWidget(mWrapText, SieveEditorGlobalConfig::self()->wrapTextItem());
}
void SieveEditorConfigureDialog::saveServerSieveConfig()
{
mServerWidget->writeConfig();
PimCommon::ConfigureImmutableWidgetUtils::saveCheckBox(mCloseWallet, SieveEditorGlobalConfig::self()->closeWalletItem());
PimCommon::ConfigureImmutableWidgetUtils::saveCheckBox(mWrapText, SieveEditorGlobalConfig::self()->wrapTextItem());
SieveEditorGlobalConfig::self()->save();
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment