Bug Fix - confirmation was broken

- Fixed inverted condition that broke confirmation.
This commit is contained in:
Paul Beckingham 2009-03-23 21:55:02 -04:00
parent d10e9be500
commit ca795ea281

View file

@ -434,7 +434,7 @@ std::string handleDelete (TDB& tdb, T& task, Config& conf)
{
std::stringstream out;
if (conf.get ("confirmation", true) || confirm ("Permanently delete task?"))
if (!conf.get (std::string ("confirmation"), false) || confirm ("Permanently delete task?"))
{
std::vector <T> all;
tdb.allPendingT (all);