TW-1638 Undo doesn't work when a context is set
- Thanks to Jeremy John Reeder.
This commit is contained in:
@@ -76,6 +76,7 @@
|
|||||||
Tomas Babej).
|
Tomas Babej).
|
||||||
- TW-1636 UUID with numeric-only first segment is not parsed properly (thanks
|
- TW-1636 UUID with numeric-only first segment is not parsed properly (thanks
|
||||||
to Tomas Babej).
|
to Tomas Babej).
|
||||||
|
- TW-1638 Undo doesn't work when a context is set (thanks to Jeremy John Reeder).
|
||||||
- Prevent potential task duplication during import for non-pending tasks.
|
- Prevent potential task duplication during import for non-pending tasks.
|
||||||
- Show the active context in "context list", if any is active.
|
- Show the active context in "context list", if any is active.
|
||||||
- Fix "task edit" dropping annotation text after newlines.
|
- Fix "task edit" dropping annotation text after newlines.
|
||||||
|
|||||||
@@ -570,6 +570,11 @@ void CLI2::addContextFilter ()
|
|||||||
return;
|
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
|
// Detect if UUID or ID is set, and bail out
|
||||||
for (auto& a : _args)
|
for (auto& a : _args)
|
||||||
|
|||||||
Reference in New Issue
Block a user