Commit 21323faa authored by Kai Koehne's avatar Kai Koehne
Browse files

Fix non matching connect, disconnect in editorview

parent 01a70073
......@@ -296,7 +296,7 @@ void EditorView::removeEditor(IEditor *editor)
m_container->removeWidget(editor->widget());
m_widgetEditorMap.remove(editor->widget());
editor->widget()->setParent(0);
disconnect(editor, SIGNAL(changed()), this, SLOT(updateEditorStatus()));
disconnect(editor, SIGNAL(changed()), this, SLOT(checkEditorStatus()));
QToolBar *toolBar = editor->toolBar();
if (toolBar != 0) {
if (m_activeToolBar == toolBar) {
......
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