diff --git a/src/plugins/coreplugin/editormanager/editorview.cpp b/src/plugins/coreplugin/editormanager/editorview.cpp index a201e5c9baecdef21a7ae90b31ca6a5bc193c066..1399269c6a67fc0b4aba1e8cfea903f3ce152286 100644 --- a/src/plugins/coreplugin/editormanager/editorview.cpp +++ b/src/plugins/coreplugin/editormanager/editorview.cpp @@ -132,8 +132,7 @@ void EditorModel::addEntry(const Entry &entry) if (previousIndex >= 0) { if (entry.editor && m_editors.at(previousIndex).editor == 0) { m_editors[previousIndex] = entry; - QModelIndex mindex = index(previousIndex, 0); - emit dataChanged(mindex, mindex); + connect(entry.editor, SIGNAL(changed()), this, SLOT(itemChanged())); } return; }