mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-25 00:58:06 -05:00
Fix for #419: update project title on file save
git-svn-id: http://svn.osgeo.org/qgis/trunk@6186 c8812cc2-4d05-0410-92ff-de0c093fc19c
This commit is contained in:
parent
cf7f5d7b8e
commit
8eae1062fe
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user