From 1144ef6fd357c3c590e19fbed5b633f9a8533353 Mon Sep 17 00:00:00 2001 From: David Capello Date: Mon, 18 May 2015 17:08:01 -0300 Subject: [PATCH] Update system window title bar when the document is saved with other name (fix #675) --- src/app/app.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/app/app.cpp b/src/app/app.cpp index 07311b2a7..1533ff235 100644 --- a/src/app/app.cpp +++ b/src/app/app.cpp @@ -226,9 +226,6 @@ void App::initialize(const AppOptions& options) app_rebuild_documents_tabs(); app_default_statusbar_message(); - // Default window title bar. - updateDisplayTitleBar(); - // Recover data if (m_modules->hasRecoverySessions()) m_mainWindow->showDataRecovery(m_modules->recovery()); @@ -722,6 +719,8 @@ void app_rebuild_documents_tabs() { if (App::instance()->isGui()) App::instance()->getMainWindow()->getWorkspace()->updateTabs(); + + App::instance()->updateDisplayTitleBar(); } PixelFormat app_get_current_pixel_format()