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.
  • Loading branch information
m-kuhn committed May 13, 2020
1 parent f845189 commit a076f83e2790ee3cf857efea92d7762d0d0096e5
Showing with 0 additions and 4 deletions.
  1. +0 −4 src/app/qgisapp.cpp
@@ -16012,10 +16012,6 @@ void QgisApp::populateProjectStorageMenu( QMenu *menu, const bool saving )
{
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 a076f83

Please sign in to comment.