diff options
author | andreykproductengine <akleshchev@productengine.com> | 2016-09-13 20:32:34 +0300 |
---|---|---|
committer | andreykproductengine <akleshchev@productengine.com> | 2016-09-13 20:32:34 +0300 |
commit | a195406e484047cefc699a03c769816c4a8dc0f0 (patch) | |
tree | 1f57712edc4d6459db45abb1dd2cea5ece384a33 /indra/newview | |
parent | 07cc376831b38334d9bcadf52b030073ced571da (diff) |
MAINT-6726 Fixed LLLineEditor menus staying in memory forever
Diffstat (limited to 'indra/newview')
-rw-r--r-- | indra/newview/lllocationinputctrl.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/lllocationinputctrl.cpp b/indra/newview/lllocationinputctrl.cpp index 53b2ca2b74..11bc1425f9 100644 --- a/indra/newview/lllocationinputctrl.cpp +++ b/indra/newview/lllocationinputctrl.cpp @@ -243,7 +243,7 @@ LLLocationInputCtrl::LLLocationInputCtrl(const LLLocationInputCtrl::Params& p) params.commit_on_focus_lost(false); params.follows.flags(FOLLOWS_ALL); mTextEntry = LLUICtrlFactory::create<LLURLLineEditor>(params); - mTextEntry->setContextMenu(NULL); + mTextEntry->resetContextMenu(); addChild(mTextEntry); // LLLineEditor is replaced with LLLocationLineEditor |