Skip to content
Permalink
Browse files
Update src/gui/qgsfilewidget.cpp
  • Loading branch information
nyalldawson committed Dec 20, 2021
1 parent 78a4ed4 commit 568f5271b6dc6d9acd660b45a8a3de6123222d95
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/gui/qgsfilewidget.cpp
@@ -281,7 +281,7 @@ void QgsFileWidget::openFileDialog()

// if we use a relative path option, we need to obtain the full path
// first choice is the current file path, if one is entered
if ( !mFilePath.isEmpty() && QFile( mFilePath ).exists() )
if ( !mFilePath.isEmpty() && QFile::exists( mFilePath ) )
{
oldPath = relativePath( mFilePath, false );
}

0 comments on commit 568f527

Please sign in to comment.