Bug Fix - Color::Color (color_id, color_id)

- Removed temporary fix from task code to accommodate above bug.
This commit is contained in:
Paul Beckingham
2009-10-06 00:20:50 -04:00
parent e5fce9ac08
commit 010ef7cd07
4 changed files with 18 additions and 22 deletions

View File

@@ -582,7 +582,7 @@ void TDB::undo ()
row = table.addRow ();
table.addCell (row, 0, *name);
table.addCell (row, 1, renderAttribute (*name, before.get (*name)));
table.setCellColor (row, 1, Color (Color::red, Color::nocolor));
table.setCellColor (row, 1, Color (Color::red));
}
foreach (name, before)
@@ -599,8 +599,8 @@ void TDB::undo ()
if (priorValue != currentValue)
{
table.setCellColor (row, 1, Color (Color::red, Color::nocolor));
table.setCellColor (row, 2, Color (Color::green, Color::nocolor));
table.setCellColor (row, 1, Color (Color::red));
table.setCellColor (row, 2, Color (Color::green));
}
}
}
@@ -610,7 +610,7 @@ void TDB::undo ()
row = table.addRow ();
table.addCell (row, 0, *name);
table.addCell (row, 2, renderAttribute (*name, after.get (*name)));
table.setCellColor (row, 2, Color (Color::green, Color::nocolor));
table.setCellColor (row, 2, Color (Color::green));
}
}
else
@@ -621,7 +621,7 @@ void TDB::undo ()
row = table.addRow ();
table.addCell (row, 0, name->first);
table.addCell (row, 2, renderAttribute (name->first, after.get (name->first)));
table.setCellColor (row, 2, Color (Color::green, Color::nocolor));
table.setCellColor (row, 2, Color (Color::green));
}
}