summaryrefslogtreecommitdiff
path: root/indra/newview/llimview.cpp
diff options
context:
space:
mode:
authorAlexei Arabadji <aarabadji@productengine.com>2009-12-25 13:18:20 +0200
committerAlexei Arabadji <aarabadji@productengine.com>2009-12-25 13:18:20 +0200
commit7eea562e8a9a44e3c9f5d08c5d2cd8f8053fd5ff (patch)
treeacee7e0d67c788f2cd8a035f7e2848684439d252 /indra/newview/llimview.cpp
parent36a9e88158eefa19ea4dac10383f2d85b6d53dc8 (diff)
parent0d0f10441b26206da2941d5e1f58f0e8207fc757 (diff)
Automated merge with https://hg.aws.productengine.com/secondlife/viewer-2-0/
--HG-- branch : product-engine
Diffstat (limited to 'indra/newview/llimview.cpp')
-rw-r--r--indra/newview/llimview.cpp16
1 files changed, 6 insertions, 10 deletions
diff --git a/indra/newview/llimview.cpp b/indra/newview/llimview.cpp
index 8c33c94bbe..70f15e0057 100644
--- a/indra/newview/llimview.cpp
+++ b/indra/newview/llimview.cpp
@@ -1482,13 +1482,17 @@ LLCallDialog(payload)
}
}
-void LLOutgoingCallDialog::draw()
+void LLCallDialog::draw()
{
if (lifetimeHasExpired())
{
onLifetimeExpired();
}
- LLDockableFloater::draw();
+
+ if (getDockControl() != NULL)
+ {
+ LLDockableFloater::draw();
+ }
}
bool LLOutgoingCallDialog::lifetimeHasExpired()
@@ -1633,14 +1637,6 @@ LLIncomingCallDialog::LLIncomingCallDialog(const LLSD& payload) :
LLCallDialog(payload)
{
}
-void LLIncomingCallDialog::draw()
-{
- if (lifetimeHasExpired())
- {
- onLifetimeExpired();
- }
- LLDockableFloater::draw();
-}
bool LLIncomingCallDialog::lifetimeHasExpired()
{