MAINT-4740 FIXED Context menus left on screen when closing floater with Ctrl+W
parent
015e979632
commit
45167dba2e
|
|
@ -503,6 +503,7 @@ class LLFileCloseWindow : public view_listener_t
|
|||
{
|
||||
LLFloater::closeFrontmostFloater();
|
||||
}
|
||||
if (gMenuHolder) gMenuHolder->hideMenus();
|
||||
return true;
|
||||
}
|
||||
};
|
||||
|
|
@ -525,6 +526,7 @@ class LLFileCloseAllWindows : public view_listener_t
|
|||
bool app_quitting = false;
|
||||
gFloaterView->closeAllChildren(app_quitting);
|
||||
LLFloaterSnapshot::getInstance()->closeFloater(app_quitting);
|
||||
if (gMenuHolder) gMenuHolder->hideMenus();
|
||||
return true;
|
||||
}
|
||||
};
|
||||
|
|
|
|||
Loading…
Reference in New Issue