Add debug setting LiruHighlightNewInventory to prevent selection being changed on accepting new inventory.
This commit is contained in:
@@ -742,6 +742,17 @@
|
||||
<key>Value</key>
|
||||
<integer>0</integer>
|
||||
</map>
|
||||
<key>LiruHighlightNewInventory</key>
|
||||
<map>
|
||||
<key>Comment</key>
|
||||
<string>When false, new inventory items will not be highlighted upon being accepted.</string>
|
||||
<key>Persist</key>
|
||||
<integer>1</integer>
|
||||
<key>Type</key>
|
||||
<string>Boolean</string>
|
||||
<key>Value</key>
|
||||
<boolean>1</boolean>
|
||||
</map>
|
||||
<key>LiruLegacyDisplayMuteds</key>
|
||||
<map>
|
||||
<key>Comment</key>
|
||||
|
||||
@@ -1261,6 +1261,7 @@ void open_inventory_offer(const uuid_vec_t& objects, const std::string& from_nam
|
||||
LLInventoryView::showAgentInventory(TRUE);
|
||||
}
|
||||
|
||||
if (!gSavedSettings.getBOOL("LiruHighlightNewInventory")) return;
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
// Highlight item
|
||||
LL_DEBUGS("Messaging") << "Highlighting" << obj_id << LL_ENDL;
|
||||
|
||||
Reference in New Issue
Block a user