diff options
author | Jacek Antonelli | 2008-08-15 23:45:04 -0500 |
---|---|---|
committer | Jacek Antonelli | 2008-08-15 23:45:04 -0500 |
commit | 117e22047c5752352342d64e3fb7ce00a4eb8113 (patch) | |
tree | e32de2cfba0dda8705ae528fcd1fbe23ba075685 /linden/indra/newview/llpanelgroup.cpp | |
parent | Second Life viewer sources 1.18.0.6 (diff) | |
download | meta-impy-117e22047c5752352342d64e3fb7ce00a4eb8113.zip meta-impy-117e22047c5752352342d64e3fb7ce00a4eb8113.tar.gz meta-impy-117e22047c5752352342d64e3fb7ce00a4eb8113.tar.bz2 meta-impy-117e22047c5752352342d64e3fb7ce00a4eb8113.tar.xz |
Second Life viewer sources 1.18.1.2
Diffstat (limited to '')
-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); |