MainWindow: Fix for Automatic WB and edit mode WBs

==================================================

As described here:
https://forum.freecad.org/viewtopic.php?p=687188#p687188
This commit is contained in:
Abdullah Tahiri
2023-06-11 18:29:02 +02:00
committed by 0penBrain
parent 1de0e96467
commit a19e2454be
2 changed files with 4 additions and 4 deletions

View File

@@ -190,7 +190,6 @@ void Workbench::activated()
* However, now that we are back (from another WB), we need to make the toolbars available.
* These correspond to the last saved state.
*/
Base::Console().Log("Sketch WB: Activated\n");
Gui::Document* doc = Gui::Application::Instance->activeDocument();
if (isSketchInEdit(doc)) {
Gui::ToolBarManager::getInstance()->setState(editModeToolbarNames(),