From 9b8ad9525b4aa0f06261de128240ecbaf7479f0b Mon Sep 17 00:00:00 2001 From: Markus Lampert Date: Thu, 26 Sep 2019 22:24:29 -0700 Subject: [PATCH] Fixed updateCommand definition for python --- src/Gui/ApplicationPy.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Gui/ApplicationPy.cpp b/src/Gui/ApplicationPy.cpp index 038a0fe161..a71716e117 100644 --- a/src/Gui/ApplicationPy.cpp +++ b/src/Gui/ApplicationPy.cpp @@ -144,8 +144,8 @@ PyMethodDef Application::Methods[] = { {"listCommands", (PyCFunction) Application::sListCommands, METH_VARARGS, "listCommands() -> list of strings\n\n" "Returns a list of all commands known to FreeCAD."}, - {"updateCommands()", (PyCFunction) Application::sUpdateCommands, METH_VARARGS, - "updateCommands()\n\n" + {"updateCommands", (PyCFunction) Application::sUpdateCommands, METH_VARARGS, + "updateCommands\n\n" "Update all command active status"}, {"SendMsgToActiveView", (PyCFunction) Application::sSendActiveView, METH_VARARGS, "deprecated -- use class View"},