Update system window title bar when the document is saved with other name (fix #675)

This commit is contained in:
David Capello 2015-05-18 17:08:01 -03:00
parent a8577a4273
commit 1144ef6fd3

View File

@ -226,9 +226,6 @@ void App::initialize(const AppOptions& options)
app_rebuild_documents_tabs(); app_rebuild_documents_tabs();
app_default_statusbar_message(); app_default_statusbar_message();
// Default window title bar.
updateDisplayTitleBar();
// Recover data // Recover data
if (m_modules->hasRecoverySessions()) if (m_modules->hasRecoverySessions())
m_mainWindow->showDataRecovery(m_modules->recovery()); m_mainWindow->showDataRecovery(m_modules->recovery());
@ -722,6 +719,8 @@ void app_rebuild_documents_tabs()
{ {
if (App::instance()->isGui()) if (App::instance()->isGui())
App::instance()->getMainWindow()->getWorkspace()->updateTabs(); App::instance()->getMainWindow()->getWorkspace()->updateTabs();
App::instance()->updateDisplayTitleBar();
} }
PixelFormat app_get_current_pixel_format() PixelFormat app_get_current_pixel_format()