Commit 4280e937 authored by Orgad Shaneh's avatar Orgad Shaneh Committed by Orgad Shaneh

Refresh window title on app activation

Task-number: QTCREATORBUG-18485
Change-Id: I5598dd628a76213fc4b9e49a002818b2fa3663cd
Reviewed-by: Eike Ziller's avatarEike Ziller <eike.ziller@qt.io>
parent 6fdb0756
......@@ -250,6 +250,11 @@ void EditorManagerPrivate::init()
DocumentModel::init();
connect(ICore::instance(), &ICore::contextAboutToChange,
this, &EditorManagerPrivate::handleContextChange);
connect(qApp, &QApplication::applicationStateChanged,
this, [](Qt::ApplicationState state) {
if (state == Qt::ApplicationActive)
EditorManager::updateWindowTitles();
});
const Context editManagerContext(Constants::C_EDITORMANAGER);
// combined context for edit & design modes
......
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