Skip to content

Commit

Permalink
Make CorePlugin.invoke_action returns the value returned by the handler.
Browse files Browse the repository at this point in the history
  • Loading branch information
MatthieuDartiailh committed Mar 4, 2014
1 parent 9a68216 commit 58e6ed5
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 58e6ed5

Please sign in to comment.