From 9bc726ba61b4f077eb6a64ef85fc902ceae763cf Mon Sep 17 00:00:00 2001 From: Tomas Babej Date: Wed, 27 Jan 2021 23:59:41 -0500 Subject: [PATCH] commands: Modify CmdAdd and CmdLog to use context This only sets the command properties. --- src/commands/CmdAdd.cpp | 2 +- src/commands/CmdLog.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/commands/CmdAdd.cpp b/src/commands/CmdAdd.cpp index fd48394e6..7296f10d4 100644 --- a/src/commands/CmdAdd.cpp +++ b/src/commands/CmdAdd.cpp @@ -39,7 +39,7 @@ CmdAdd::CmdAdd () _read_only = false; _displays_id = false; _needs_gc = false; - _uses_context = false; + _uses_context = true; _accepts_filter = false; _accepts_modifications = true; _accepts_miscellaneous = false; diff --git a/src/commands/CmdLog.cpp b/src/commands/CmdLog.cpp index f187cdbe5..2406df54f 100644 --- a/src/commands/CmdLog.cpp +++ b/src/commands/CmdLog.cpp @@ -39,7 +39,7 @@ CmdLog::CmdLog () _read_only = false; _displays_id = false; _needs_gc = false; - _uses_context = false; + _uses_context = true; _accepts_filter = false; _accepts_modifications = true; _accepts_miscellaneous = false;