Skip to content
Permalink
Browse files

Do not show error message if user cancels save as dialog

The save to database providers return an null QString() if the dialog is cancelled,
as documented in qgsprojectstorageprovider.h.
No reason to show an error message for cancelling this dialog.

(cherry picked from commit a076f83)
  • Loading branch information
m-kuhn authored and nyalldawson committed May 13, 2020
1 parent 102f42d commit 9e435452434260a84e7344827ff3b77e35328b75
Showing with 0 additions and 4 deletions.
  1. +0 −4 src/app/qgisapp.cpp
{
saveProjectToProjectStorage( uri );
}
else
{
messageBar()->pushCritical( tr( "Project save failed" ), tr( "The project could not be saved because the project storage URI is empty." ) );
}
} );
}
else

0 comments on commit 9e43545

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