Skip to content

Commit 1bf1f85

Browse files
authoredMay 13, 2020
Merge pull request #36400 from m-kuhn/no_show_error_for_cancel
Do not show error message if user cancels save as dialog
2 parents 497233d + c8db9ed commit 1bf1f85

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed
 

‎src/app/qgisapp.cpp

Lines changed: 0 additions & 8 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
@@ -16027,10 +16023,6 @@ void QgisApp::populateProjectStorageMenu( QMenu *menu, const bool saving )
1602716023
{
1602816024
addProject( uri );
1602916025
}
16030-
else
16031-
{
16032-
messageBar()->pushCritical( tr( "Project load failed" ), tr( "The project could not be loaded because the project storage URI is empty." ) );
16033-
}
1603416026
} );
1603516027
}
1603616028
}

0 commit comments

Comments
 (0)
Please sign in to comment.