diff --git a/Code/Mantid/MantidPlot/CMakeLists.txt b/Code/Mantid/MantidPlot/CMakeLists.txt index 9a6c78151f48c6d0d6fedef4e312cd942591f120..dba22bfbe681b3043f9ce9d8bb2aab7dcc5b8383 100644 --- a/Code/Mantid/MantidPlot/CMakeLists.txt +++ b/Code/Mantid/MantidPlot/CMakeLists.txt @@ -518,7 +518,7 @@ set( SRC_UNITY_IGNORE_FILES ) add_custom_command ( OUTPUT ${SIP_SRC_AUTO} COMMAND ${SIP_EXECUTABLE} -I ${PYQT4_SIP_DIR} -I ${CMAKE_CURRENT_SOURCE_DIR}/../MantidQt/Python ${PYQT4_SIP_FLAGS} - -c ${CMAKE_CURRENT_BINARY_DIR} -j1 -w + -c ${CMAKE_CURRENT_BINARY_DIR} -j1 -w -o ${SIP_SPEC} DEPENDS src/qti.sip ${SIP_HDRS} COMMENT "Generating python bindings using sip" diff --git a/Code/Mantid/MantidPlot/mantidplotpy/proxies.py b/Code/Mantid/MantidPlot/mantidplotpy/proxies.py index adb4b2e4d4f865894d43f9da7900bfe1690e5379..07164b9c1c752b740c3efc43b2ae5c1e2a0d2380 100644 --- a/Code/Mantid/MantidPlot/mantidplotpy/proxies.py +++ b/Code/Mantid/MantidPlot/mantidplotpy/proxies.py @@ -29,6 +29,7 @@ class CrossThreadCall(QtCore.QObject): QtCore.QObject.__init__(self) self.moveToThread(QtGui.qApp.thread()) self.__callable = callable + self.__call__.__func__.__doc__ = callable.__doc__ def dispatch(self, *args, **kwargs): """Dispatches a call to callable with