diff options
Diffstat (limited to 'linden/indra/newview/llpanelgroup.cpp')
-rw-r--r-- | linden/indra/newview/llpanelgroup.cpp | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/linden/indra/newview/llpanelgroup.cpp b/linden/indra/newview/llpanelgroup.cpp index 8061e42..5887cc0 100644 --- a/linden/indra/newview/llpanelgroup.cpp +++ b/linden/indra/newview/llpanelgroup.cpp | |||
@@ -125,16 +125,7 @@ void LLPanelGroupTab::handleClickHelp() | |||
125 | LLAlertDialog* dialogp = gViewerWindow->alertXml("GenericAlert", args); | 125 | LLAlertDialog* dialogp = gViewerWindow->alertXml("GenericAlert", args); |
126 | if (dialogp) | 126 | if (dialogp) |
127 | { | 127 | { |
128 | LLView* viewp = this; | 128 | LLFloater* root_floater = gFloaterView->getParentFloater(this);; |
129 | LLFloater* root_floater = NULL; | ||
130 | while(viewp) | ||
131 | { | ||
132 | if(viewp->getWidgetType() == WIDGET_TYPE_FLOATER) | ||
133 | { | ||
134 | root_floater = (LLFloater*)viewp; | ||
135 | } | ||
136 | viewp = viewp->getParent(); | ||
137 | } | ||
138 | if (root_floater) | 129 | if (root_floater) |
139 | { | 130 | { |
140 | root_floater->addDependentFloater(dialogp); | 131 | root_floater->addDependentFloater(dialogp); |