diff --git a/src/commands/CmdTimesheet.cpp b/src/commands/CmdTimesheet.cpp index a15c882b1..3ef082e13 100644 --- a/src/commands/CmdTimesheet.cpp +++ b/src/commands/CmdTimesheet.cpp @@ -125,15 +125,7 @@ int CmdTimesheet::execute (std::string& output) table.add ("Project"); table.add ("Due"); table.add ("Task"); - - 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 (); + setHeaderUnderline (table); auto dateformat = context.config.get ("dateformat");