MAINT-4740 FIXED Context menus left on screen when closing floater with Ctrl+W

master
andreykproductengine 2014-12-11 15:34:40 +02:00
parent 015e979632
commit 45167dba2e
1 changed files with 2 additions and 0 deletions

View File

@ -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;
}
};