- Fixed underlining in undo command when color is off - the dashes
  were not being used.
This commit is contained in:
Paul Beckingham 2010-10-16 10:37:20 -04:00
parent 12146a6f01
commit 47b5586d45

View file

@ -773,8 +773,16 @@ void TDB::undo ()
table.addColumn (" ");
table.addColumn ("Prior Values");
table.addColumn ("Current Values");
table.setColumnUnderline (1);
table.setColumnUnderline (2);
if ((context.config.getBoolean ("color") || context.config.getBoolean ("_forcecolor")) &&
context.config.getBoolean ("fontunderline"))
{
table.setColumnUnderline (1);
table.setColumnUnderline (2);
}
else
table.setTableDashedUnderline ();
table.setColumnWidth (0, Table::minimum);
table.setColumnWidth (1, Table::flexible);
table.setColumnWidth (2, Table::flexible);