diff options
| author | Mnikolenko Productengine <mnikolenko@productengine.com> | 2021-03-30 15:53:22 +0300 |
|---|---|---|
| committer | Mnikolenko Productengine <mnikolenko@productengine.com> | 2021-03-30 15:53:22 +0300 |
| commit | 89b4611fc00a17d923c06d510da6842002113199 (patch) | |
| tree | 183c19006270aa995f6c923599751ebf05bc4d9f /indra/newview/llfavoritesbar.cpp | |
| parent | 309fb9e892beb724a442c85bcfd07d6f3f7c9c07 (diff) | |
SL-15036 Add actions to move landmarks between tabs in the Places floater
Diffstat (limited to 'indra/newview/llfavoritesbar.cpp')
| -rw-r--r-- | indra/newview/llfavoritesbar.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/indra/newview/llfavoritesbar.cpp b/indra/newview/llfavoritesbar.cpp index 8791f605e9..4a40a74dec 100644 --- a/indra/newview/llfavoritesbar.cpp +++ b/indra/newview/llfavoritesbar.cpp @@ -1281,6 +1281,10 @@ void LLFavoritesBarCtrl::doToSelected(const LLSD& userdata) LLNotificationsUtil::add("RenameLandmark", args, payload, boost::bind(onRenameCommit, _1, _2)); } + else if (action == "move_to_landmarks") + { + change_item_parent(mSelectedItemID, gInventory.findCategoryUUIDForType(LLFolderType::FT_LANDMARK)); + } // Pop-up the overflow menu again (it gets hidden whenever the user clicks a context menu item). // See EXT-4217 and STORM-207. |
