From 77b17379d6f5f85180668a7fe5359ffa3e7ed704 Mon Sep 17 00:00:00 2001 From: Paul Beckingham Date: Sun, 6 Sep 2015 14:05:58 -0400 Subject: [PATCH] CmdAdd/Log: No longer obey context Context is good for filtering, terrible for commands that do not take filters. --- src/commands/CmdAdd.cpp | 2 +- src/commands/CmdLog.cpp | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/commands/CmdAdd.cpp b/src/commands/CmdAdd.cpp index f04cade70..02433ed75 100644 --- a/src/commands/CmdAdd.cpp +++ b/src/commands/CmdAdd.cpp @@ -43,7 +43,7 @@ CmdAdd::CmdAdd () _read_only = false; _displays_id = false; _needs_gc = false; - _uses_context = true; + _uses_context = false; _accepts_filter = false; _accepts_modifications = true; _accepts_miscellaneous = false; diff --git a/src/commands/CmdLog.cpp b/src/commands/CmdLog.cpp index bea4d4cb6..d99939a46 100644 --- a/src/commands/CmdLog.cpp +++ b/src/commands/CmdLog.cpp @@ -43,11 +43,11 @@ CmdLog::CmdLog () _read_only = false; _displays_id = false; _needs_gc = false; - _uses_context = true; + _uses_context = false; _accepts_filter = false; _accepts_modifications = true; _accepts_miscellaneous = false; - _category = Command::Category::operation; + _category = Command::Category::operation; } ////////////////////////////////////////////////////////////////////////////////