forked from qt-creator/qt-creator
Window title didn't show nice name for e.g. diff views.
Use the editor's displayName for the window title. Also there were missing change signal emissions in setDisplayName implementations. Moves the actual handling of the window title from Session to EditorManager (so it now is also done for the hypothetical case of no project explorer plugin). Task-number: QTCREATORBUG-3207
This commit is contained in:
@@ -212,6 +212,7 @@ QString FormWindowEditor::displayName() const
|
||||
void FormWindowEditor::setDisplayName(const QString &title)
|
||||
{
|
||||
d->m_textEditable.setDisplayName(title);
|
||||
emit changed();
|
||||
}
|
||||
|
||||
bool FormWindowEditor::duplicateSupported() const
|
||||
|
||||
Reference in New Issue
Block a user