| 1322 | |
| 1323 | |
| 1324 | void BookmarkView::onAddGroup( wxCommandEvent& /* event */ ) { |
| 1325 | |
| 1326 | wxString stringVal = wxGetTextFromUser(BOOKMARK_VIEW_STR_ADD_GROUP_DESC, BOOKMARK_VIEW_STR_ADD_GROUP, ""); |
| 1327 | if (!stringVal.ToStdString().empty()) { |
| 1328 | wxGetApp().getBookmarkMgr().addGroup(stringVal.ToStdString()); |
| 1329 | wxGetApp().getBookmarkMgr().updateBookmarks(); |
| 1330 | } |
| 1331 | } |
| 1332 | |
| 1333 | |
| 1334 | void BookmarkView::onRemoveGroup( wxCommandEvent& /* event */ ) { |
nothing calls this directly
no test coverage detected