Skip to content

Commit

Permalink
Merge pull request #141 from MatthieuDartiailh/invoke_command_return
Browse files Browse the repository at this point in the history
Make CorePlugin.invoke_action returns the value returned by the handler.
  • Loading branch information
sccolbert committed Mar 5, 2014
2 parents 9a68216 + 58e6ed5 commit 5322bd1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion enaml/workbench/core/core_plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ def invoke_command(self, command_id, parameters={}, trigger=None):
event.parameters = parameters
event.trigger = trigger

command.handler(event)
return command.handler(event)

#--------------------------------------------------------------------------
# Private API
Expand Down

0 comments on commit 5322bd1

Please sign in to comment.