Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed Feb 1, 2022
1 parent aede9be commit 68a0c93
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/app/qgsappbrowserproviders.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1118,10 +1118,9 @@ void QgsBookmarksItemGuiProvider::populateContextMenu( QgsDataItem *item, QMenu
exportBookmarksFromManagers( QList< const QgsBookmarkManager * >() << groupItem->manager(), context.messageBar(), groupItem->group() );
} );
menu->addAction( exportBookmarks );
menu->addSeparator();

// Add spatial bookmark
QAction *addBookmarkToGroup = new QAction( tr( "New Spatial Bookmark to Group" ), menu );
QAction *addBookmarkToGroup = new QAction( tr( "New Spatial Bookmark" ), menu );
const bool inProject = manager != QgsApplication::bookmarkManager();
connect( addBookmarkToGroup, &QAction::triggered, this, [ = ]
{
Expand Down

0 comments on commit 68a0c93

Please sign in to comment.