Skip to content

Commit

Permalink
Refs #9092. Accepting and passing keywords.
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael Reuter committed Feb 26, 2014
1 parent 6960cdd commit c182fe6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Code/Mantid/MantidPlot/mantidplotpy/proxies.py
Expand Up @@ -81,15 +81,15 @@ def _get_argtype(self, argument):
argtype = int
return argtype

def threadsafe_call(callable, *args):
def threadsafe_call(callable, *args, **kwargs):
"""
Calls the given function with the given arguments
by passing it through the CrossThreadCall class. This
ensures that the calls to the GUI functions
happen on the correct thread.
"""
caller = CrossThreadCall(callable)
return caller.dispatch(*args)
return caller.dispatch(*args, **kwargs)

def new_proxy(classType, callable, *args, **kwargs):
"""
Expand Down

0 comments on commit c182fe6

Please sign in to comment.