mirror of
https://github.com/aseprite/aseprite.git
synced 2024-12-28 15:20:15 +00:00
Update system window title bar when the document is saved with other name (fix #675)
This commit is contained in:
parent
a8577a4273
commit
1144ef6fd3
@ -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()
|
||||||
|
Loading…
Reference in New Issue
Block a user