From 01da66f2df0b0bfeec1f09bb8cae7bb595b23f66 Mon Sep 17 00:00:00 2001 From: wmayer Date: Mon, 15 May 2023 15:52:56 +0200 Subject: [PATCH] [skip ci] Gui: PrintWarning has been moved to Console module --- src/Gui/FreeCADGuiInit.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Gui/FreeCADGuiInit.py b/src/Gui/FreeCADGuiInit.py index 12bba20e30..84cebe5689 100644 --- a/src/Gui/FreeCADGuiInit.py +++ b/src/Gui/FreeCADGuiInit.py @@ -57,7 +57,7 @@ class Workbench: def Initialize(self): """Initializes this workbench.""" - App.PrintWarning(str(self) + ": Workbench.Initialize() not implemented in subclass!") + App.Console.PrintWarning(str(self) + ": Workbench.Initialize() not implemented in subclass!") def ContextMenu(self, recipient): pass def appendToolbar(self,name,cmds):