Commit e1935a0e authored by con's avatar con
Browse files

Remove wrong assertion.

parent 21e1db4b
......@@ -242,8 +242,6 @@ void DesignMode::currentEditorChanged(Core::IEditor *editor)
d->m_currentEditor = QWeakPointer<Core::IEditor>();
emit actionsUpdated(d->;
QTC_ASSERT(core->modeManager()->currentMode() != this, core->modeManager()->activateMode(Constants::MODE_EDIT));
} else {
d->m_currentEditor = QWeakPointer<Core::IEditor>(editor);
Supports Markdown
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