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:
@@ -2050,6 +2050,7 @@ QString BaseTextEditor::displayName() const
|
||||
void BaseTextEditor::setDisplayName(const QString &title)
|
||||
{
|
||||
d->m_displayName = title;
|
||||
emit changed();
|
||||
}
|
||||
|
||||
BaseTextDocument *BaseTextEditor::baseTextDocument() const
|
||||
|
||||
Reference in New Issue
Block a user