summaryrefslogtreecommitdiff
path: root/indra/newview/app_settings/commands.xml
diff options
context:
space:
mode:
authorgwigz <gwigz@users.noreply.github.com>2024-10-08 18:48:54 +0100
committerErik Kundiman <erik@megapahit.org>2024-10-09 11:30:41 +0800
commit0bec080221e1002ef30b01215f7cdafd552c08f2 (patch)
tree0f0e946ad935fdc4fefe78f272b9ae4a1c1c6d17 /indra/newview/app_settings/commands.xml
parent0efe72e7993a9a23a6f8952368548775cb0ea3ef (diff)
Minimal favorite folder inventory feature
Utilizes the recent-ish "open in new window" functionality from `LLPanelMainInventory::newFolderWindow`
Diffstat (limited to 'indra/newview/app_settings/commands.xml')
-rw-r--r--indra/newview/app_settings/commands.xml8
1 files changed, 8 insertions, 0 deletions
diff --git a/indra/newview/app_settings/commands.xml b/indra/newview/app_settings/commands.xml
index b47ceff446..f2ab740646 100644
--- a/indra/newview/app_settings/commands.xml
+++ b/indra/newview/app_settings/commands.xml
@@ -295,4 +295,12 @@
is_running_function="Floater.IsOpen"
is_running_parameters="performance"
/>
+ <command name="favoritefolder"
+ available_in_toybox="true"
+ icon="Command_FavoriteFolder_Icon"
+ label_ref="Command_FavoriteFolder_Label"
+ tooltip_ref="Command_FavoriteFolder_Tooltip"
+ execute_function="Inventory.OpenFavoriteFolder"
+ is_running_function="Inventory.IsFavoriteFolderOpen"
+ />
</commands>