* Fem: Use of wrong class name in macro * Fem: Prevent selection of partially attached object - fixes #12163
This commit is contained in:
@@ -110,11 +110,6 @@ void ViewProviderFemAnalysis::attach(App::DocumentObject* obj)
|
||||
{
|
||||
Gui::ViewProviderDocumentObjectGroup::attach(obj);
|
||||
extension.attach(this);
|
||||
// activate analysis if currently active workbench is FEM
|
||||
auto* workbench = Gui::WorkbenchManager::instance()->active();
|
||||
if (workbench->name() == "FemWorkbench") {
|
||||
doubleClicked();
|
||||
}
|
||||
}
|
||||
|
||||
void ViewProviderFemAnalysis::highlightView(Gui::ViewProviderDocumentObject* view)
|
||||
|
||||
@@ -50,7 +50,7 @@ private:
|
||||
class FemGuiExport ViewProviderFemAnalysis: public Gui::ViewProviderDocumentObjectGroup
|
||||
{
|
||||
Q_DECLARE_TR_FUNCTIONS(FemGui::ViewProviderFemAnalysis)
|
||||
PROPERTY_HEADER_WITH_OVERRIDE(FemGui::ViewProviderAnalysis);
|
||||
PROPERTY_HEADER_WITH_OVERRIDE(FemGui::ViewProviderFemAnalysis);
|
||||
|
||||
public:
|
||||
/// constructor
|
||||
|
||||
Reference in New Issue
Block a user