mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-07-07 20:06:36 +02:00
Src: rules.cpp changed Task::get to Task::has in colorizeProjectNone function
This commit is contained in:
parent
814d7d69fa
commit
67feb5bab7
1 changed files with 1 additions and 1 deletions
|
@ -165,7 +165,7 @@ static void colorizeProject (Task& task, const std::string& rule, const Color& b
|
|||
////////////////////////////////////////////////////////////////////////////////
|
||||
static void colorizeProjectNone (Task& task, const Color& base, Color& c, bool merge)
|
||||
{
|
||||
if (task.get ("project") == "")
|
||||
if(!task.has ("project"))
|
||||
applyColor (base, c, merge);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue