From 960d2be06d25d79fb21c2fd7ab381ff8f8ece741 Mon Sep 17 00:00:00 2001 From: Paul Beckingham Date: Mon, 22 Jun 2015 16:29:56 -0400 Subject: [PATCH] Task: Added a Lexer::dequote to values --- src/Task.cpp | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/src/Task.cpp b/src/Task.cpp index 01677310f..64f6f9003 100644 --- a/src/Task.cpp +++ b/src/Task.cpp @@ -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];