diff options
| author | Kitty Barnett <develop@catznip.com> | 2012-06-11 13:39:45 +0200 |
|---|---|---|
| committer | Kitty Barnett <develop@catznip.com> | 2012-06-11 13:39:45 +0200 |
| commit | 80b1a2c0a8f7b4444dc1588ba5f71bbb69b40acd (patch) | |
| tree | 7a3ddc6e57559e429d726bba2c490352c98d3a06 /indra/llui/llmenugl.cpp | |
| parent | 20210455f5a350b3e8e24515ba7af71db0eece0b (diff) | |
STORM-276 Insert braces around if/for/while loops
Diffstat (limited to 'indra/llui/llmenugl.cpp')
| -rw-r--r-- | indra/llui/llmenugl.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/indra/llui/llmenugl.cpp b/indra/llui/llmenugl.cpp index 3c14bf5415..efb9848a90 100644 --- a/indra/llui/llmenugl.cpp +++ b/indra/llui/llmenugl.cpp @@ -3909,9 +3909,13 @@ void LLContextMenu::show(S32 x, S32 y, LLView* spawning_view) arrange(); if (spawning_view) + { mSpawningViewHandle = spawning_view->getHandle(); + } else + { mSpawningViewHandle.markDead(); + } LLView::setVisible(TRUE); } |
