From dddd20ba1ebd3f52f0f0b027ce4f9473ddd41319 Mon Sep 17 00:00:00 2001 From: Marc Zinnschlag Date: Thu, 16 Oct 2014 14:31:13 +0200 Subject: [PATCH] added default values for display format settings --- apps/opencs/model/settings/usersettings.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/apps/opencs/model/settings/usersettings.cpp b/apps/opencs/model/settings/usersettings.cpp index 18270b4d4..49930e334 100644 --- a/apps/opencs/model/settings/usersettings.cpp +++ b/apps/opencs/model/settings/usersettings.cpp @@ -83,7 +83,6 @@ void CSMSettings::UserSettings::buildSettingModelDefaults() Setting *reuse = createSetting (Type_CheckBox, "reuse", "Reuse SubView"); reuse->setDefaultValue("true"); -// reuse->setSpecialValueText("Reuse SubView"); } declareSection ("Window Size", "Window Size"); @@ -130,6 +129,9 @@ void CSMSettings::UserSettings::buildSettingModelDefaults() Setting *ritd = createSetting (Type_RadioButton, "Referenceable ID Type Display", "Referenceable ID Type Display"); + rsd->setDefaultValue (defaultValue); + ritd->setDefaultValue (defaultValue); + rsd->setDeclaredValues (values); ritd->setDeclaredValues (values); }