Bug
- Fixed underlining in color legend command when color is off - the dashes were not being used.
This commit is contained in:
@@ -2107,12 +2107,14 @@ int handleColor (std::string &outs)
|
|||||||
table.addColumn ("Color");
|
table.addColumn ("Color");
|
||||||
table.addColumn ("Definition");
|
table.addColumn ("Definition");
|
||||||
|
|
||||||
if (context.config.getBoolean ("color") ||
|
if ((context.config.getBoolean ("color") || context.config.getBoolean ("_forcecolor")) &&
|
||||||
context.config.getBoolean ("_forcecolor"))
|
context.config.getBoolean ("fontunderline"))
|
||||||
{
|
{
|
||||||
table.setColumnUnderline (0);
|
table.setColumnUnderline (0);
|
||||||
table.setColumnUnderline (1);
|
table.setColumnUnderline (1);
|
||||||
}
|
}
|
||||||
|
else
|
||||||
|
table.setTableDashedUnderline ();
|
||||||
|
|
||||||
foreach (item, all)
|
foreach (item, all)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user