diff --git a/src/commands/CmdReports.cpp b/src/commands/CmdReports.cpp index 478ba9c52..bc812167b 100644 --- a/src/commands/CmdReports.cpp +++ b/src/commands/CmdReports.cpp @@ -90,16 +90,7 @@ int CmdReports::execute (std::string& output) view.width (context.getWidth ()); view.add (STRING_CMD_REPORTS_REPORT); view.add (STRING_CMD_REPORTS_DESC); - - if (context.color ()) - { - Color label (context.config.get ("color.label")); - view.colorHeader (label); - - Color alternate (context.config.get ("color.alternate")); - view.colorOdd (alternate); - view.intraColorOdd (alternate); - } + setHeaderUnderline (view); for (auto& report : reports) {