set the outgoing call window's dock point in postBuild() instead of onOpen() to avoid it being in the wrong place for a frame.
parent
1b0b439c23
commit
7722105e4e
|
|
@ -1127,11 +1127,6 @@ void LLOutgoingCallDialog::onOpen(const LLSD& key)
|
|||
childSetTextArg("connecting", "[CALLEE_NAME]", callee_name);
|
||||
LLAvatarIconCtrl* icon = getChild<LLAvatarIconCtrl>("avatar_icon");
|
||||
icon->setValue(callee_id);
|
||||
|
||||
// dock the dialog to the sys well, where other sys messages appear
|
||||
setDockControl(new LLDockControl(LLBottomTray::getInstance()->getSysWell(),
|
||||
this, getDockTongue(), LLDockControl::TOP,
|
||||
boost::bind(&LLOutgoingCallDialog::getAllowedRect, this, _1)));
|
||||
}
|
||||
|
||||
|
||||
|
|
@ -1156,6 +1151,11 @@ BOOL LLOutgoingCallDialog::postBuild()
|
|||
|
||||
childSetAction("Cancel", onCancel, this);
|
||||
|
||||
// dock the dialog to the sys well, where other sys messages appear
|
||||
setDockControl(new LLDockControl(LLBottomTray::getInstance()->getSysWell(),
|
||||
this, getDockTongue(), LLDockControl::TOP,
|
||||
boost::bind(&LLOutgoingCallDialog::getAllowedRect, this, _1)));
|
||||
|
||||
return success;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue