mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-07-07 20:06:36 +02:00
DOM: tw.syncneeded should be 0/1, not false/true
This commit is contained in:
parent
06dc1f6c42
commit
28030cfc39
2 changed files with 6 additions and 6 deletions
|
@ -91,12 +91,12 @@ bool getDOM (const std::string& name, Variant& value)
|
|||
{
|
||||
if (name == "tw.syncneeded")
|
||||
{
|
||||
value = Variant (false);
|
||||
value = Variant (0);
|
||||
for (const auto& line : context.tdb2.backlog.get_lines ())
|
||||
{
|
||||
if (line[0] == '{')
|
||||
{
|
||||
value = Variant (true);
|
||||
value = Variant (1);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue