From 92184624778264adf6ab79d0c741ba741c8e1b79 Mon Sep 17 00:00:00 2001 From: Paul Beckingham Date: Mon, 20 Mar 2017 09:11:26 -0400 Subject: [PATCH] CmdReports: Table headers consistent --- src/commands/CmdReports.cpp | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) 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) {