diff --git a/src/commands/CmdReports.cpp b/src/commands/CmdReports.cpp index 882ccbdaa..e6c30ca9f 100644 --- a/src/commands/CmdReports.cpp +++ b/src/commands/CmdReports.cpp @@ -90,12 +90,11 @@ int CmdReports::execute (std::string& output) view.add (Column::factory ("string", STRING_CMD_REPORTS_REPORT)); view.add (Column::factory ("string", STRING_CMD_REPORTS_DESC)); - Color label (context.config.get ("color.label")); - view.colorHeader (label); - - // If an alternating row color is specified, notify the table. 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);