Commit 43192b45 authored by Dominik Haumann's avatar Dominik Haumann

Fix: modified-icon not synchronized between different windows

REVIEW: 129754
BUG: 374229
parent 75a86174
......@@ -355,6 +355,7 @@ void KateViewSpace::insertTab(int index, KTextEditor::Document * doc)
const int id = m_tabBar->insertTab(index, doc->documentName());
m_tabBar->setTabToolTip(id, doc->url().toDisplayString());
m_docToTabId[doc] = id;
updateDocumentState(doc);
connect(doc, SIGNAL(documentNameChanged(KTextEditor::Document*)),
this, SLOT(updateDocumentName(KTextEditor::Document*)));
......
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