TW-1638 Undo doesn't work when a context is set
- Thanks to Jeremy John Reeder.
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user