Tiny fix to the Scripts sub-piemenu

This commit is contained in:
Lirusaito
2013-04-10 05:39:21 -04:00
parent b909a70413
commit c2046025e3
3 changed files with 4 additions and 5 deletions

View File

@@ -9379,7 +9379,6 @@ void initialize_menus()
addMenu(new LLToolsTakeCopy(), "Tools.TakeCopy");
addMenu(new LLToolsTakeCopy(), "Tools.TakeCopy");
addMenu(new LLScriptDelete(), "Tools.ScriptDelete");
// <edit>
addMenu(new LLToolsEnableAdminDelete(), "Tools.EnableAdminDelete");
addMenu(new LLToolsAdminDelete(), "Tools.AdminDelete");

View File

@@ -42,8 +42,8 @@
<on_enable function="EditableSelected" />
</menu_item_call>
<menu_item_call mouse_opaque="true" label="Remove" name="Remove Scripts From Selection">
<on_click function="Tools.SelectedScriptAction" userdata="delete" />
<on_enable function="EditableSelected" />
<on_click function="Tools.ScriptDelete" />
<on_enable function="Tools.EnableScriptDelete" />
</menu_item_call>
<menu_item_call mouse_opaque="true" label="Count" name="ScriptCount">
<on_click function="Object.ScriptCount" />

View File

@@ -116,8 +116,8 @@
<on_enable function="EditableSelected" />
</menu_item_call>
<menu_item_call mouse_opaque="true" label="Remove" name="Remove Scripts From Selection">
<on_click function="Tools.SelectedScriptAction" userdata="delete" />
<on_enable function="EditableSelected" />
<on_click function="Tools.ScriptDelete" />
<on_enable function="Tools.EnableScriptDelete" />
</menu_item_call>
<menu_item_call mouse_opaque="true" label="Count" name="ScriptCount">
<on_click function="Object.ScriptCount" />