mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-08-28 04:27:20 +02:00
TW-1638 Undo doesn't work when a context is set
- Thanks to Jeremy John Reeder.
This commit is contained in:
parent
5ef5c3c70f
commit
ba155aead3
2 changed files with 6 additions and 0 deletions
|
@ -570,6 +570,11 @@ void CLI2::addContextFilter ()
|
|||
return;
|
||||
}
|
||||
|
||||
// The 'undo' command does not apply context.
|
||||
auto cmd = getCommand ();
|
||||
if (cmd == "undo")
|
||||
return;
|
||||
|
||||
/*
|
||||
// Detect if UUID or ID is set, and bail out
|
||||
for (auto& a : _args)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue