summaryrefslogtreecommitdiff
path: root/indra/llui/llmodaldialog.cpp
diff options
context:
space:
mode:
authorJon Wolk <jwolk@lindenlab.com>2008-01-24 21:11:28 +0000
committerJon Wolk <jwolk@lindenlab.com>2008-01-24 21:11:28 +0000
commited517c3b1440145aaf7226c1ac8270f20509f708 (patch)
treefefc8447366f54b4aa3053561bf6dd899612e6f1 /indra/llui/llmodaldialog.cpp
parentc48ebd889b3baa6adf051e3b114052291ac72603 (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.cpp10
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);