Skip to content
Permalink
Browse files

Fix for #419: update project title on file save

git-svn-id: http://svn.osgeo.org/qgis/trunk@6186 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
wonder
wonder committed Dec 4, 2006
1 parent cf7f5d7 commit 8eae1062fe7f633aaf2b4fbb8fbca1da9e3adc12
Showing with 2 additions and 0 deletions.
  1. +2 −0 src/gui/qgisapp.cpp
@@ -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)
@@ -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);

0 comments on commit 8eae106

Please sign in to comment.
You can’t perform that action at this time.