CmdTimesheet: Table headers consistent

This commit is contained in:
Paul Beckingham 2017-03-20 09:12:33 -04:00
parent c26d7fb465
commit 0cf0f1ce3c

View file

@ -125,15 +125,7 @@ int CmdTimesheet::execute (std::string& output)
table.add ("Project"); table.add ("Project");
table.add ("Due"); table.add ("Due");
table.add ("Task"); table.add ("Task");
setHeaderUnderline (table);
if (context.color ())
{
table.forceColor ();
table.colorHeader (Color ("underline " + context.config.get ("color.label")));
table.colorOdd (Color (context.config.get ("color.alternate")));
}
else
table.underlineHeaders ();
auto dateformat = context.config.get ("dateformat"); auto dateformat = context.config.get ("dateformat");