From 73d4094f1d3f666c30f7533231261eb375cef6e8 Mon Sep 17 00:00:00 2001 From: Rusty Wagner Date: Mon, 14 Dec 2015 14:43:19 -0500 Subject: Plugin command UI --- plugin.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'plugin.cpp') diff --git a/plugin.cpp b/plugin.cpp index f7f287b0..8c37ba54 100644 --- a/plugin.cpp +++ b/plugin.cpp @@ -200,7 +200,7 @@ vector PluginCommand::GetValidList(const PluginCommandContext& ct } -bool PluginCommand::IsValid(const PluginCommandContext& ctxt) +bool PluginCommand::IsValid(const PluginCommandContext& ctxt) const { if (!ctxt.view) return false; @@ -234,7 +234,7 @@ bool PluginCommand::IsValid(const PluginCommandContext& ctxt) } -void PluginCommand::Execute(const PluginCommandContext& ctxt) +void PluginCommand::Execute(const PluginCommandContext& ctxt) const { if (!IsValid(ctxt)) return; -- cgit v1.3.1