From 717e8c3be5a86ce073db9288998e946814f4506f Mon Sep 17 00:00:00 2001 From: Paul Beckingham Date: Mon, 20 Mar 2017 09:09:46 -0400 Subject: [PATCH] CmdContext: Table headers consistent --- src/commands/CmdContext.cpp | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/src/commands/CmdContext.cpp b/src/commands/CmdContext.cpp index ef4d1127f..ca0e25e35 100644 --- a/src/commands/CmdContext.cpp +++ b/src/commands/CmdContext.cpp @@ -225,12 +225,7 @@ void CmdContext::listContexts (std::stringstream& out) table.add ("Name"); table.add ("Definition"); table.add ("Active"); - - if (context.color ()) - { - Color label (context.config.get ("color.label")); - table.colorHeader (label); - } + setHeaderUnderline (table); std::string activeContext = context.config.get ("context");