forked from mia/Aegisub
Reenable shift-enter in the translation assistant
Newlines in the text are converted to \N, so no reason not to allow it there. Closes #1691.
This commit is contained in:
parent
15280b4561
commit
5cfb76fe9a
1 changed files with 1 additions and 0 deletions
|
@ -96,6 +96,7 @@ DialogTranslation::DialogTranslation(agi::Context *c)
|
|||
translated_text->SetMarginWidth(1, 0);
|
||||
translated_text->SetFocus();
|
||||
translated_text->Bind(wxEVT_CHAR_HOOK, &DialogTranslation::OnKeyDown, this);
|
||||
translated_text->CmdKeyAssign(wxSTC_KEY_RETURN, wxSTC_SCMOD_SHIFT, wxSTC_CMD_NEWLINE);
|
||||
|
||||
wxSizer *translated_box = new wxStaticBoxSizer(wxVERTICAL, this, _("Translation"));
|
||||
translated_box->Add(translated_text, 1, wxEXPAND, 0);
|
||||
|
|
Loading…
Reference in a new issue