Skip to content
Snippets Groups Projects
Commit 961cdd5e authored by Kai Koehne's avatar Kai Koehne
Browse files

QmlDesigner: Disable switching to Component elements for the Alpha

Changing anything in the submodel right now crashes, and it seems
it will take some time to fix this.

Reviewed-by: Thomas Hartmann
parent 31f7c875
No related branches found
No related tags found
No related merge requests found
......@@ -421,7 +421,8 @@ void DesignDocumentController::loadCurrentModel()
m_d->stackedWidget->addWidget(m_d->formEditorView->widget());
ComponentAction *componentAction = new ComponentAction(m_d->formEditorView->widget());
componentAction->setModel(m_d->model.data());
m_d->formEditorView->widget()->lowerToolBox()->addAction(componentAction);
// TODO: Enable again
//m_d->formEditorView->widget()->lowerToolBox()->addAction(componentAction);
connect(componentAction, SIGNAL(currentComponentChanged(ModelNode)), SLOT(changeCurrentModelTo(ModelNode))); //TODO component action
connect(m_d->itemLibrary.data(), SIGNAL(itemActivated(const QString&)), m_d->formEditorView.data(), SLOT(activateItemCreator(const QString&)));
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment