Column: Removed ::can_modify, which is moot

This commit is contained in:
Paul Beckingham
2015-10-31 11:14:23 -04:00
parent 2ff8d8329f
commit 6baff92b5a
3 changed files with 4 additions and 8 deletions

View File

@@ -2181,6 +2181,7 @@ void Task::modify (modType type, bool text_required /* = false */)
std::string strValue = (std::string) evaluatedValue;
if (column->validate (strValue))
{
/*
if (column->can_modify ())
{
std::string col_value = column->modify (strValue);
@@ -2189,9 +2190,12 @@ void Task::modify (modType type, bool text_required /* = false */)
}
else
{
*/
context.debug (label + name + " <-- '" + strValue + "' <-- '" + value + "'");
(*this).set (name, strValue);
/*
}
*/
++modCount;
}