Skip to content

Commit

Permalink
Update system window title bar when the document is saved with other …
Browse files Browse the repository at this point in the history
…name (fix aseprite#675)
  • Loading branch information
dacap committed May 18, 2015
1 parent a8577a4 commit 1144ef6
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/app/app.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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());
Expand Down Expand Up @@ -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()
Expand Down

0 comments on commit 1144ef6

Please sign in to comment.