FIRE-20461: Ctrl+W does not close the Conversations floater while it has focus

master
Ansariel 2016-12-05 18:16:57 +01:00
parent f0b8472548
commit 0a5d7650bd
1 changed files with 6 additions and 0 deletions

View File

@ -198,6 +198,12 @@ BOOL FSFloaterContacts::handleKeyHere(KEY key, MASK mask)
return TRUE;
}
if (mask == MASK_CONTROL && key == 'W' && getHost())
{
getHost()->closeFloater();
return TRUE;
}
return LLFloater::handleKeyHere(key, mask);
}