Designer: Fix displaying of 'modified' state after saving.

Emit an IEditor::changed() after saving to force an update
of the OpenEditorsModel.
This commit is contained in:
Friedemann Kleint
2010-03-12 16:54:32 +01:00
parent 5567a01877
commit 50f0644c55
3 changed files with 12 additions and 8 deletions

View File

@@ -81,6 +81,8 @@ FormWindowEditor::FormWindowEditor(Internal::DesignerXmlEditor *editor,
connect(form, SIGNAL(changed()), this, SIGNAL(changed()));
// Revert to saved/load externally modified files
connect(&(d->m_file), SIGNAL(reload(QString)), this, SLOT(slotOpen(QString)));
// Force update of open editors model.
connect(&(d->m_file), SIGNAL(saved()), this, SIGNAL(changed()));
}
FormWindowEditor::~FormWindowEditor()