Skip to content

Commit

Permalink
Fix for #419: update project title on file save
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.osgeo.org/qgis/trunk@6186 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
wonder committed Dec 4, 2006
1 parent cf7f5d7 commit 8eae106
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/gui/qgisapp.cpp
Expand Up @@ -2819,6 +2819,7 @@ bool QgisApp::fileSave()
{
if ( QgsProject::instance()->write() )
{
setTitleBarText_(*this); // update title bar
statusBar()->message(tr("Saved project to:") + " " + QgsProject::instance()->filename() );

if (isNewProject)
Expand Down Expand Up @@ -2901,6 +2902,7 @@ void QgisApp::fileSaveAs()

if ( QgsProject::instance()->write() )
{
setTitleBarText_(*this); // update title bar
statusBar()->message(tr("Saved project to:") + " " + QgsProject::instance()->filename() );
// add this to the list of recently used project files
saveRecentProjectPath(fullPath.filePath(), settings);
Expand Down

0 comments on commit 8eae106

Please sign in to comment.