From a555f635da29262a543ec2828a311e3f98a8ebdb Mon Sep 17 00:00:00 2001 From: Mnikolenko ProductEngine Date: Tue, 6 Jan 2015 18:20:42 +0200 Subject: MAINT-729 FIXED Hide popup menu (which belongs to old chiclet) when new chiclet arrives. --- indra/newview/llchiclet.cpp | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'indra/newview/llchiclet.cpp') diff --git a/indra/newview/llchiclet.cpp b/indra/newview/llchiclet.cpp index c0823182c0..46b7679915 100755 --- a/indra/newview/llchiclet.cpp +++ b/indra/newview/llchiclet.cpp @@ -376,6 +376,14 @@ BOOL LLIMChiclet::handleRightMouseDown(S32 x, S32 y, MASK mask) return TRUE; } +void LLIMChiclet::hidePopupMenu() +{ + if (mPopupMenu) + { + mPopupMenu->setVisible(FALSE); + } +} + bool LLIMChiclet::canCreateMenu() { if(mPopupMenu) -- cgit v1.2.3