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:
committed by
0penBrain
parent
1de0e96467
commit
a19e2454be
@@ -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(),
|
||||
|
||||
Reference in New Issue
Block a user