diff options
| author | Richard Linden <none@none> | 2011-09-23 19:56:07 -0700 |
|---|---|---|
| committer | Richard Linden <none@none> | 2011-09-23 19:56:07 -0700 |
| commit | 6aa7ddc238b1a8f8a4dd184dd2758f93f6a55bec (patch) | |
| tree | 4617d89014003c454df66e60e71109a511e59e75 /indra/llui/lldockcontrol.cpp | |
| parent | 2ecf4fb30779796909702c8cf4b250bc74af1ded (diff) | |
fix for widget registration and crash on login
Diffstat (limited to 'indra/llui/lldockcontrol.cpp')
| -rw-r--r-- | indra/llui/lldockcontrol.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/indra/llui/lldockcontrol.cpp b/indra/llui/lldockcontrol.cpp index b1c27126d9..7b9084671d 100644 --- a/indra/llui/lldockcontrol.cpp +++ b/indra/llui/lldockcontrol.cpp @@ -97,6 +97,7 @@ void LLDockControl::getAllowedRect(LLRect& rect) void LLDockControl::repositionDockable() { + if (!mDockWidget) return; LLRect dockRect = mDockWidget->calcScreenRect(); LLRect rootRect; mGetAllowedRectCallback(rootRect); |
