mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-06-26 10:54:26 +02:00
Code Cleanup
- Corrected comment which was saying the opposite of what happens.
This commit is contained in:
parent
ce07b9ba7b
commit
fa4fba6573
1 changed files with 1 additions and 1 deletions
|
@ -1543,7 +1543,7 @@ void Task::validate (bool applyDefault /* = true */)
|
|||
{
|
||||
std::string defVal= context.config.get ("uda." + *uda + ".default");
|
||||
|
||||
// If the default is empty, and we already have a value, skip it
|
||||
// If the default is empty, or we already have a value, skip it
|
||||
if (defVal != "" && get (*uda) == "")
|
||||
set (*uda, defVal);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue