Skip to content

Commit 8eae106

Browse files
author
wonder
committedDec 4, 2006
Fix for #419: update project title on file save
git-svn-id: http://svn.osgeo.org/qgis/trunk@6186 c8812cc2-4d05-0410-92ff-de0c093fc19c
1 parent cf7f5d7 commit 8eae106

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed
 

‎src/gui/qgisapp.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2819,6 +2819,7 @@ bool QgisApp::fileSave()
28192819
{
28202820
if ( QgsProject::instance()->write() )
28212821
{
2822+
setTitleBarText_(*this); // update title bar
28222823
statusBar()->message(tr("Saved project to:") + " " + QgsProject::instance()->filename() );
28232824

28242825
if (isNewProject)
@@ -2901,6 +2902,7 @@ void QgisApp::fileSaveAs()
29012902

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

0 commit comments

Comments
 (0)
Please sign in to comment.