diff options
Diffstat (limited to 'examples/uml/duse-mt/src/plugins/modelinspector/modelinspectorplugin.cpp')
-rw-r--r-- | examples/uml/duse-mt/src/plugins/modelinspector/modelinspectorplugin.cpp | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/examples/uml/duse-mt/src/plugins/modelinspector/modelinspectorplugin.cpp b/examples/uml/duse-mt/src/plugins/modelinspector/modelinspectorplugin.cpp index 58ea358b..51b21c80 100644 --- a/examples/uml/duse-mt/src/plugins/modelinspector/modelinspectorplugin.cpp +++ b/examples/uml/duse-mt/src/plugins/modelinspector/modelinspectorplugin.cpp @@ -85,7 +85,7 @@ bool ModelInspectorPlugin::initialize(DuSE::ICore *core) connect(_modelingObjectView, &QModelingObjectView::modelingObjectChanged, _propertyModel, &QModelingObjectPropertyModel::setModelingObject); connect(_modelingObjectView, SIGNAL(modelingObjectChanged(QModelingObject*)), core->uiController(), SIGNAL(currentModelingObjectChanged(QModelingObject*))); connect(_propertyModel, &QModelingObjectPropertyModel::indexChanged, _modelingObjectModel, &QModelingObjectModel::updateIndex); - connect(core->uiController(), SIGNAL(updateCurrentModelingObject()), this, SLOT(updateCurrentModelingObject())); + connect(core->uiController(), SIGNAL(updateCurrentModelingObject()), _modelingObjectView, SLOT(updateSelected())); connect(_modelingObjectView, SIGNAL(addToView(QObject*,QQuickItem*)), core->uiController(), SIGNAL(addToView(QObject*,QQuickItem*))); return true; @@ -96,8 +96,3 @@ void ModelInspectorPlugin::populateOutputIssues() _outputIssues->setModel(new QStringListModel(DuSE::ICore::self()->projectController()->errorStrings())); } -void ModelInspectorPlugin::updateCurrentModelingObject() -{ - _modelingObjectView->updateSelected(); -} - |