Skip to content
Permalink
Browse files

[bugfix] Fixes #16242 saves always with absolute paths

  • Loading branch information
elpaso committed May 12, 2017
1 parent deb9667 commit 913527b4c95dce5f0bc3c6def52c29f6341cec39
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/core/qgsproject.cpp
@@ -1550,7 +1550,7 @@ QString QgsProject::writePath( const QString& src, const QString& relativeBasePa
QFileInfo srcFileInfo( src );
QFileInfo projFileInfo( fileName() );
QString srcPath = srcFileInfo.exists() ? srcFileInfo.canonicalFilePath() : src;
QString projPath = projFileInfo.canonicalFilePath();
QString projPath = projFileInfo.exists( ) ? projFileInfo.canonicalFilePath() : fileName();

if ( !relativeBasePath.isNull() )
{

0 comments on commit 913527b

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