diff options
| author | Rusty Wagner <rusty@vector35.com> | 2015-12-14 14:43:19 -0500 |
|---|---|---|
| committer | Rusty Wagner <rusty@vector35.com> | 2015-12-14 14:43:45 -0500 |
| commit | 73d4094f1d3f666c30f7533231261eb375cef6e8 (patch) | |
| tree | c66050223d09b2b3ecba4630b273da089f785642 /plugin.cpp | |
| parent | 08a2e3fc0310ae7cc6d8374fef9301711cb26ae6 (diff) | |
Plugin command UI
Diffstat (limited to 'plugin.cpp')
| -rw-r--r-- | plugin.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -200,7 +200,7 @@ vector<PluginCommand> 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; |
