diff options
author | Jon Wolk <jwolk@lindenlab.com> | 2008-01-24 21:11:28 +0000 |
---|---|---|
committer | Jon Wolk <jwolk@lindenlab.com> | 2008-01-24 21:11:28 +0000 |
commit | ed517c3b1440145aaf7226c1ac8270f20509f708 (patch) | |
tree | fefc8447366f54b4aa3053561bf6dd899612e6f1 /indra/llui/llmodaldialog.cpp | |
parent | c48ebd889b3baa6adf051e3b114052291ac72603 (diff) |
svn merge -r 77416:78126 svn+ssh://svn.lindenlab.com/svn/linden/branches/Branch_1-19-0-Viewer_abandoned -> release
Diffstat (limited to 'indra/llui/llmodaldialog.cpp')
-rw-r--r-- | indra/llui/llmodaldialog.cpp | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/indra/llui/llmodaldialog.cpp b/indra/llui/llmodaldialog.cpp index ca8020fe70..af14ec418f 100644 --- a/indra/llui/llmodaldialog.cpp +++ b/indra/llui/llmodaldialog.cpp @@ -70,6 +70,16 @@ LLModalDialog::~LLModalDialog() } } +// virtual +void LLModalDialog::open() /* Flawfinder: ignore */ +{ + // SJB: Hack! Make sure we don't ever host a modal dialog + LLMultiFloater* thost = LLFloater::sHostp; + LLFloater::sHostp = NULL; + LLFloater::open(); + LLFloater::sHostp = thost; +} + void LLModalDialog::reshape(S32 width, S32 height, BOOL called_from_parent) { LLFloater::reshape(width, height, called_from_parent); |