demi's patches #2: fixed x button on translation assistant
Originally committed to SVN as r1426.
This commit is contained in:
parent
5269a2e2a1
commit
9ab04c7ea3
1 changed files with 2 additions and 0 deletions
|
@ -356,6 +356,8 @@ void DialogTranslation::OnTransBoxKey(wxKeyEvent &event) {
|
|||
return;
|
||||
}
|
||||
|
||||
if (event.GetKeyCode() == WXK_ESCAPE) EndModal(1);
|
||||
|
||||
// Skip anything else
|
||||
event.Skip();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue