diff --git a/gui/qt_console.py b/gui/qt_console.py index 471a7408e..123c0c888 100644 --- a/gui/qt_console.py +++ b/gui/qt_console.py @@ -191,6 +191,11 @@ class Console(QtGui.QPlainTextEdit): QtCore.QCoreApplication.processEvents() self.skip = not self.skip + if type(self.namespace.get(command)) == type(lambda:None): + self.appendPlainText("'%s' is a function. Type '%s()' to call it."%(command, command)) + self.newPrompt() + return + sys.stdout = stdoutProxy(self.appendPlainText) try: try: