From 4f70969306d7357939955981aca6597e69df8ffc Mon Sep 17 00:00:00 2001 From: Federico Hernandez Date: Sun, 17 Jan 2010 21:30:16 +0100 Subject: [PATCH] Modification of the confirmation dialog for task config name value --- src/command.cpp | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/command.cpp b/src/command.cpp index cfadb7a36..bd01f5268 100644 --- a/src/command.cpp +++ b/src/command.cpp @@ -538,7 +538,12 @@ int handleConfig (std::string &outs) if (eol == std::string::npos) throw std::string ("Cannot find EOL after entry '") + name + "'"; - if (confirm (std::string ("Are you sure you want to overwrite the value of '") + name + "' with '" + value + "'?")) + if (confirm (std::string ("Are you sure you want to change the value of '") + + name + + "' from '" + + context.config.get(name) + + "' to '" + + value + "'?")) { contents = contents.substr (0, pos) + name + "=" + value