CmdProjects: Table headers consistent

This commit is contained in:
Paul Beckingham 2017-03-20 09:11:12 -04:00
parent 043884fc9b
commit 596cce73b7

View file

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