From ff1bc506078906d7d07fc6d35d66019aac6b67b9 Mon Sep 17 00:00:00 2001 From: andreas Date: Fri, 27 Oct 2023 21:32:55 +0200 Subject: [PATCH] allow to hide config values by calling setValue --- lib/exampletask/GwExampleTask.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/exampletask/GwExampleTask.cpp b/lib/exampletask/GwExampleTask.cpp index 72cdf09..bccf2f7 100644 --- a/lib/exampletask/GwExampleTask.cpp +++ b/lib/exampletask/GwExampleTask.cpp @@ -46,7 +46,7 @@ void exampleInit(GwApi *api){ defaultXdrInt=current->getDefault(); } //with the true parameter this config value will be hidden - //if you would like the user to be able to see this item, omit the "false", the config value will be read only + //if you would like the user to be able to see this item, omit the "true", the config value will be read only api->getConfig()->setValue(GwConfigDefinitions::minXdrInterval,defaultXdrInt,true); // example for a user defined help url that will be shown when clicking the help button api->addCapability("HELP_URL", "https://www.wellenvogel.de");