History

Simplify bookmark handling

David Rowe committed 11 years ago

Commit d9bd7f01 parent 1ffe22d3 files · +7 −15Browse files

Showing the changes to interface/src/Menu.cpp (1 of 3 files). Show all

Unified · Split

interface/src/Menu.cpp+1−1
@@ -1069,7 +1069,7 @@ void Menu::bookmarkLocation() { · 1068 unmodified lines
10691069 addActionToQMenuAndActionHash(_bookmarksMenu, teleportAction, bookmarkName, 0,
10701070 QAction::NoRole, position);
10711071
1072− bookmarks->insert(bookmarkName, bookmarkAddress);
1072+ bookmarks->insert(bookmarkName, bookmarkAddress); // Overwrites any item with the same bookmarkName.
10731073
10741074 _bookmarksMenu->setEnabled(true);
10751075 _deleteBookmarksMenu->setEnabled(true);