From 24f1ad2fd93475684288c899fb4fffcf05f6c21e Mon Sep 17 00:00:00 2001 From: nds Date: Fri, 24 Oct 2014 14:21:45 +0400 Subject: [PATCH] refs #98 - Default color for constraints refs #129 - old LightApprc.7.4.0 problem The default values save mechanizm is implemented. --- src/Config/Config_PropManager.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Config/Config_PropManager.h b/src/Config/Config_PropManager.h index 496cddd6d..90df27705 100644 --- a/src/Config/Config_PropManager.h +++ b/src/Config/Config_PropManager.h @@ -23,11 +23,11 @@ class Config_PropManager * \param theSection - name of section (domain of using) of the property. * \param theName - name (title) of the value. * \param theType - type of the value. - * \param theValue - initial value of the property + * \param theDefValue - default and initial value of the property * Returns True if the property succesfully registered */ CONFIG_EXPORT static bool registerProp(const std::string& theSection, const std::string& theName, - const std::string& theTitle, Config_Prop::PropType theType, const std::string& theValue); + const std::string& theTitle, Config_Prop::PropType theType, const std::string& theDefValue = ); CONFIG_EXPORT static Config_Prop* findProp( const std::string& theSection, const std::string& theName); -- 2.39.2