mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-08-26 06:37:20 +02:00
Bug fix - assumed "yes" value, instead of Bool
- Fixed bug where only a value of "yes" would enable confirmation, instead of any Boolean true value.
This commit is contained in:
parent
f790df24c5
commit
d10e9be500
1 changed files with 1 additions and 1 deletions
|
@ -434,7 +434,7 @@ std::string handleDelete (TDB& tdb, T& task, Config& conf)
|
||||||
{
|
{
|
||||||
std::stringstream out;
|
std::stringstream out;
|
||||||
|
|
||||||
if (conf.get ("confirmation") != "yes" || confirm ("Permanently delete task?"))
|
if (conf.get ("confirmation", true) || confirm ("Permanently delete task?"))
|
||||||
{
|
{
|
||||||
std::vector <T> all;
|
std::vector <T> all;
|
||||||
tdb.allPendingT (all);
|
tdb.allPendingT (all);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue