From 24bb606a52206257384522d74b8dff227cf96e14 Mon Sep 17 00:00:00 2001 From: Paul Beckingham Date: Thu, 23 Jul 2015 07:25:35 -0400 Subject: [PATCH] =?UTF-8?q?TW=E2=80=901566:=20Context=20is=20applied=20on?= =?UTF-8?q?=20'task=20export'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Thanks to Tomas Babej. --- ChangeLog | 1 + src/CLI2.cpp | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index c23b42574..dfdb361b7 100644 --- a/ChangeLog +++ b/ChangeLog @@ -52,6 +52,7 @@ to Renato Alves). - TW-1553 Setting defaultheight:0 makes burndown command hang (thanks to Tomas Babej). +- TW‐1566 Context is applied on 'task export' (thanks to Tomas Babej). - TW-1569 update wait: manpage entry (thanks to David Patrick). - TW-1572 Better urgency inheritance (thanks to Jens Erat). - TW-1575 `task log` mangles URLs when quoted (thanks to Luke Macken). diff --git a/src/CLI2.cpp b/src/CLI2.cpp index 3f5abf84c..a160bb418 100644 --- a/src/CLI2.cpp +++ b/src/CLI2.cpp @@ -572,7 +572,8 @@ void CLI2::addContextFilter () // The 'undo' command does not apply context. auto cmd = getCommand (); - if (cmd == "undo") + if (cmd == "undo" || + cmd == "export") return; /*