Merge.
commit
61e243ad06
|
|
@ -868,14 +868,6 @@ bool LLUICtrl::findHelpTopic(std::string& help_topic_out)
|
|||
|
||||
if (panel)
|
||||
{
|
||||
// does the panel have an active tab with a help topic?
|
||||
LLPanel *tab = panel->childGetVisibleTabWithHelp();
|
||||
if (tab)
|
||||
{
|
||||
help_topic_out = tab->getHelpTopic();
|
||||
return true; // success (tab)
|
||||
}
|
||||
|
||||
// does the panel have a sub-panel with a help topic?
|
||||
LLPanel *subpanel = panel->childGetVisiblePanelWithHelp();
|
||||
if (subpanel)
|
||||
|
|
@ -884,6 +876,14 @@ bool LLUICtrl::findHelpTopic(std::string& help_topic_out)
|
|||
return true; // success (subpanel)
|
||||
}
|
||||
|
||||
// does the panel have an active tab with a help topic?
|
||||
LLPanel *tab = panel->childGetVisibleTabWithHelp();
|
||||
if (tab)
|
||||
{
|
||||
help_topic_out = tab->getHelpTopic();
|
||||
return true; // success (tab)
|
||||
}
|
||||
|
||||
// otherwise, does the panel have a help topic itself?
|
||||
if (!panel->getHelpTopic().empty())
|
||||
{
|
||||
|
|
|
|||
|
|
@ -7,6 +7,7 @@
|
|||
left="0"
|
||||
min_height="350"
|
||||
name="panel_classified_info"
|
||||
help_topic="profile_classified_info"
|
||||
top="0"
|
||||
width="333">
|
||||
<panel.string
|
||||
|
|
|
|||
|
|
@ -9,6 +9,7 @@
|
|||
left="0"
|
||||
min_height="350"
|
||||
name="panel_edit_classified"
|
||||
help_topic="profile_edit_classified"
|
||||
top="0"
|
||||
width="333">
|
||||
<panel.string
|
||||
|
|
|
|||
|
|
@ -9,6 +9,7 @@
|
|||
left="0"
|
||||
min_height="350"
|
||||
name="panel_edit_pick"
|
||||
help_topic="profile_edit_pick"
|
||||
top="0"
|
||||
width="333">
|
||||
<button
|
||||
|
|
|
|||
|
|
@ -41,6 +41,7 @@ halign="center"
|
|||
follows="all"
|
||||
height="295"
|
||||
label="MY INVENTORY"
|
||||
help_topic="my_inventory_tab"
|
||||
layout="topleft"
|
||||
left="0"
|
||||
name="All Items"
|
||||
|
|
@ -51,6 +52,7 @@ halign="center"
|
|||
follows="all"
|
||||
height="295"
|
||||
label="RECENT"
|
||||
help_topic="recent_inventory_tab"
|
||||
layout="topleft"
|
||||
left_delta="0"
|
||||
name="Recent Items"
|
||||
|
|
|
|||
|
|
@ -7,6 +7,7 @@
|
|||
left="0"
|
||||
min_height="350"
|
||||
name="panel_pick_info"
|
||||
help_topic="profile_pick_info"
|
||||
top="0"
|
||||
width="333">
|
||||
<button
|
||||
|
|
|
|||
|
|
@ -124,7 +124,6 @@
|
|||
height="25"
|
||||
top_pad="10"
|
||||
name="buttons_cucks"
|
||||
help_topic="picks_button_tab"
|
||||
width="313">
|
||||
<button
|
||||
enabled="false"
|
||||
|
|
|
|||
|
|
@ -33,7 +33,6 @@
|
|||
<panel
|
||||
height="25"
|
||||
layout="bottomright"
|
||||
help_topic="item_button_tab"
|
||||
name="button_panel"
|
||||
left="5"
|
||||
bottom="5"
|
||||
|
|
|
|||
|
|
@ -401,7 +401,6 @@ top_pad="10"
|
|||
<panel
|
||||
height="30"
|
||||
layout="bottomright"
|
||||
help_topic="button_tab"
|
||||
name="button_panel"
|
||||
left="5"
|
||||
bottom="2"
|
||||
|
|
@ -414,4 +413,4 @@ top_pad="10"
|
|||
right="-1"
|
||||
width="100" />
|
||||
</panel>
|
||||
</panel>
|
||||
</panel>
|
||||
|
|
|
|||
|
|
@ -518,7 +518,6 @@
|
|||
<panel
|
||||
height="25"
|
||||
layout="bottomright"
|
||||
help_topic="button_tab"
|
||||
name="button_panel"
|
||||
left="5"
|
||||
bottom="5"
|
||||
|
|
@ -551,4 +550,4 @@
|
|||
top="0"
|
||||
width="100" />
|
||||
</panel>
|
||||
</panel>
|
||||
</panel>
|
||||
|
|
|
|||
Loading…
Reference in New Issue