CmdProjects: Table headers consistent

This commit is contained in:
Paul Beckingham 2017-03-20 09:11:12 -04:00
parent 35f4681929
commit 4c802a6ff7

View file

@ -109,12 +109,7 @@ int CmdProjects::execute (std::string& output)
view.width (context.getWidth ());
view.add (STRING_COLUMN_LABEL_PROJECT);
view.add (STRING_COLUMN_LABEL_TASKS, false);
if (context.color ())
{
Color label (context.config.get ("color.label"));
view.colorHeader (label);
}
setHeaderUnderline (view);
std::vector <std::string> processed;
for (auto& project : unique)