Task: Added a Lexer::dequote to values

This commit is contained in:
Paul Beckingham 2015-06-22 16:29:56 -04:00
parent 1cf07cd6fb
commit 960d2be06d

View file

@ -1880,11 +1880,6 @@ float Task::urgency_blocking () const
// It came from the Command base object, but doesn't really belong there either.
void Task::modify (modType type, bool text_required /* = false */)
{
std::string text = "";
if (context.config.getInteger ("debug.parser") >= 1)
context.debug (context.cli.dump ());
context.debug ("Task::modify");
std::string label = " MODIFICATION ";
@ -1911,6 +1906,8 @@ void Task::modify (modType type, bool text_required /* = false */)
}
else
{
Lexer::dequote (value);
// Get the column info.
Column* column = context.columns[name];