Skip to content

Commit

Permalink
Merge pull request #36400 from m-kuhn/no_show_error_for_cancel
Browse files Browse the repository at this point in the history
Do not show error message if user cancels save as dialog
  • Loading branch information
m-kuhn committed May 13, 2020
2 parents 497233d + c8db9ed commit 1bf1f85
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions src/app/qgisapp.cpp
Expand Up @@ -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
Expand All @@ -16027,10 +16023,6 @@ void QgisApp::populateProjectStorageMenu( QMenu *menu, const bool saving )
{
addProject( uri );
}
else
{
messageBar()->pushCritical( tr( "Project load failed" ), tr( "The project could not be loaded because the project storage URI is empty." ) );
}
} );
}
}
Expand Down

0 comments on commit 1bf1f85

Please sign in to comment.