Skip to content

Commit

Permalink
Merge pull request #1315 from CandyFace/1314-fix-save-dialog-path-emp…
Browse files Browse the repository at this point in the history
…ty-ignored

#1314: Fix save dialog ignores if path is empty
  • Loading branch information
candyface authored Mar 8, 2020
2 parents a181fde + 3d4ef70 commit 6488999
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions app/src/filedialogex.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,8 @@ QString FileDialog::saveFile( FileType fileType )
if ( !filePath.isEmpty() )
{
setLastSavePath( fileType, filePath );
} else {
return QString();
}

QFileInfo info(filePath);
Expand Down

0 comments on commit 6488999

Please sign in to comment.