diff options
| author | Maxim Nikolenko <maximnproductengine@lindenlab.com> | 2023-05-10 12:51:08 +0300 |
|---|---|---|
| committer | Maxim Nikolenko <maximnproductengine@lindenlab.com> | 2023-05-10 12:51:08 +0300 |
| commit | 8a1cb8c00cf75ff1e09c72c2fb487728ec77c66b (patch) | |
| tree | 02513f1ba4793148b52587fc58ff30b046e8cf98 /indra/newview/llinventorygallery.cpp | |
| parent | 06f63d9b871458f71340ba7d0126bf964d17048f (diff) | |
SL-19697 FIXED Clicking on inventory item in list view does not unselect item in gallery view
Diffstat (limited to 'indra/newview/llinventorygallery.cpp')
| -rw-r--r-- | indra/newview/llinventorygallery.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/indra/newview/llinventorygallery.cpp b/indra/newview/llinventorygallery.cpp index 37801c8dd5..9c7e96e97e 100644 --- a/indra/newview/llinventorygallery.cpp +++ b/indra/newview/llinventorygallery.cpp @@ -1056,6 +1056,14 @@ void LLInventoryGallery::deselectItem(const LLUUID& category_id) } } +void LLInventoryGallery::clearSelection() +{ + if(mSelectedItemID != LLUUID::null) + { + changeItemSelection(LLUUID::null); + } +} + void LLInventoryGallery::signalSelectionItemID(const LLUUID& category_id) { mSelectionChangeSignal(category_id); |
