MAINT-729 FIXED Hide popup menu (which belongs to old chiclet) when new chiclet arrives.
parent
c7c62b9650
commit
a555f635da
|
|
@ -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)
|
||||
|
|
|
|||
|
|
@ -305,6 +305,8 @@ public:
|
|||
*/
|
||||
virtual BOOL handleRightMouseDown(S32 x, S32 y, MASK mask);
|
||||
|
||||
void hidePopupMenu();
|
||||
|
||||
protected:
|
||||
|
||||
LLIMChiclet(const LLIMChiclet::Params& p);
|
||||
|
|
|
|||
|
|
@ -378,6 +378,7 @@ void LLScriptFloaterManager::onAddNotification(const LLUUID& notification_id)
|
|||
{
|
||||
// Pass the new_message icon state further.
|
||||
set_new_message = chicletp->getShowNewMessagesIcon();
|
||||
chicletp->hidePopupMenu();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue