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/qgis@6186 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
wonder committed Dec 4, 2006
1 parent 7035cbe commit e79fc68
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/gui/qgisapp.cpp
Original file line number Diff line number Diff line change
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 e79fc68

Please sign in to comment.