From 76e74294894bbce46d006e149315c6274d206278 Mon Sep 17 00:00:00 2001 From: wmayer Date: Mon, 3 Aug 2020 18:58:00 +0200 Subject: [PATCH] Gui: [skip ci] set Gui.listCommands to keep old code working --- src/Gui/FreeCADGuiInit.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/Gui/FreeCADGuiInit.py b/src/Gui/FreeCADGuiInit.py index 8c12f88085..c84a82ca93 100644 --- a/src/Gui/FreeCADGuiInit.py +++ b/src/Gui/FreeCADGuiInit.py @@ -34,6 +34,8 @@ import FreeCAD, FreeCADGui # shortcuts Gui = FreeCADGui +# this is to keep old code working +Gui.listCommands = Gui.Command.listAll # Important definitions class Workbench: