Automatic WB switching and Active PartDesign body
This commit is contained in:
@@ -34,6 +34,7 @@
|
||||
#include <Gui/MenuManager.h>
|
||||
#include <Gui/ToolBarManager.h>
|
||||
#include <Gui/Control.h>
|
||||
#include <Gui/Command.h>
|
||||
|
||||
using namespace PartDesignGui;
|
||||
|
||||
@@ -155,6 +156,8 @@ void Workbench::activated()
|
||||
|
||||
void Workbench::deactivated()
|
||||
{
|
||||
Gui::Command::doCommand(Gui::Command::Doc,"PartDesignGui.setActivePart(None)");
|
||||
|
||||
Gui::Workbench::deactivated();
|
||||
removeTaskWatcher();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user