Context: Now obeys command DNA

- Applying a context filter is now performed only when a command requests it.
This commit is contained in:
Paul Beckingham 2015-08-02 10:08:04 -04:00
parent 8d5a60a2a2
commit 758df84539
6 changed files with 14 additions and 11 deletions

View file

@ -60,7 +60,7 @@ int CmdExport::execute (std::string& output)
// Apply filter.
Filter filter;
std::vector <Task> filtered;
filter.subset (filtered, false);
filter.subset (filtered);
if (filter.hasModifications ())
throw std::string (STRING_ERROR_NO_MODS);