Skip to content

Commit a076f83

Browse files
committedMay 13, 2020
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.
1 parent f845189 commit a076f83

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed
 

‎src/app/qgisapp.cpp

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16012,10 +16012,6 @@ void QgisApp::populateProjectStorageMenu( QMenu *menu, const bool saving )
1601216012
{
1601316013
saveProjectToProjectStorage( uri );
1601416014
}
16015-
else
16016-
{
16017-
messageBar()->pushCritical( tr( "Project save failed" ), tr( "The project could not be saved because the project storage URI is empty." ) );
16018-
}
1601916015
} );
1602016016
}
1602116017
else

0 commit comments

Comments
 (0)
Please sign in to comment.