diff --git a/src/plugins/coreplugin/editormanager/editorview.cpp b/src/plugins/coreplugin/editormanager/editorview.cpp index 89e1465090ed54ca8e2f14d18d020717773bfbe0..b47f17cc1074203a2335c73114242425b6e8df5c 100644 --- a/src/plugins/coreplugin/editormanager/editorview.cpp +++ b/src/plugins/coreplugin/editormanager/editorview.cpp @@ -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) {