Commit c444fc2a authored by Thorbjørn Lindeijer's avatar Thorbjørn Lindeijer

Fixed saving in Designer mode

Designer should still have editor manager context.

Reviewed-by: con
parent 510971d2
......@@ -328,7 +328,10 @@ void FormEditorW::fullInit()
m_context = new DesignerContext(m_contexts, m_modeWidget, this);
Core::UniqueIDManager *idMan = Core::UniqueIDManager::instance();
int editorManagerContext = idMan->uniqueIdentifier(QLatin1String(Core::Constants::C_EDITORMANAGER));
m_context = new DesignerContext(QList<int>() << m_contexts << editorManagerContext, m_modeWidget, this);
m_designMode->registerDesignWidget(m_modeWidget, QStringList(QLatin1String(FORM_MIMETYPE)), m_contexts);
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment