mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-06-26 10:54:26 +02:00
TW-1, TW-1438
- TW-1 Recurring task message on the same task (thanks to Profpatsch).
This commit is contained in:
parent
8795b0a692
commit
1488c1c6fa
9 changed files with 128 additions and 120 deletions
|
@ -90,8 +90,9 @@ int CmdPrepend::execute (std::string& output)
|
|||
// Prepend to siblings.
|
||||
if (task->has ("parent"))
|
||||
{
|
||||
if (! context.config.getBoolean ("recurrence.confirmation") ||
|
||||
confirm (STRING_CMD_PREPEND_CONFIRM_R))
|
||||
if ((context.config.get ("recurrence.confirmation") == "prompt"
|
||||
&& confirm (STRING_CMD_PREPEND_CONFIRM_R)) ||
|
||||
context.config.getBoolean ("recurrence.confirmation"))
|
||||
{
|
||||
std::vector <Task> siblings = context.tdb2.siblings (*task);
|
||||
std::vector <Task>::iterator sibling;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue