desktop()->tabifyDockWidget(aObjDoc, myWorkshop->propertyPanel());
}
+ DockWidget* aInspection = myWorkshop->inspectionPanel();
+ if (aInspection) {
+ QAction* aViewAct = aInspection->toggleViewAction();
+ aViewAct->setEnabled(true);
+ aInspection->setVisible(true);
+ }
+
if (!mySelector) {
ViewManagerList OCCViewManagers;
application()->viewManagers(OCCViewer_Viewer::Type(), OCCViewManagers);
QAction* aViewAct = aObjDoc->toggleViewAction();
aViewAct->setEnabled(false);
}
+ DockWidget* aInspection = myWorkshop->inspectionPanel();
+ if (aInspection) {
+ aInspection->setVisible(false);
+ QAction* aViewAct = aInspection->toggleViewAction();
+ aViewAct->setEnabled(false);
+ }
// the active operation should be stopped for the next activation.
// There should not be active operation and visualized preview.