mirror of https://github.com/odrling/Aegisub
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
aegisub
|
@ -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 New Issue