mirror of https://github.com/odrling/Aegisub
Issue #386 - Fixed setting of hotkeys to enter.
Originally committed to SVN as r1469.
This commit is contained in:
parent
9b282c8893
commit
53a95b3af2
|
@ -1023,7 +1023,7 @@ DialogInputHotkey::DialogInputHotkey(HotkeyType *_key,wxString name)
|
||||||
////////////////////////
|
////////////////////////
|
||||||
// Capturer constructor
|
// Capturer constructor
|
||||||
CaptureKey::CaptureKey(DialogInputHotkey *_parent)
|
CaptureKey::CaptureKey(DialogInputHotkey *_parent)
|
||||||
: wxTextCtrl(_parent,-1,_T(""),wxDefaultPosition,wxSize(0,0))
|
: wxTextCtrl(_parent,-1,_T(""),wxDefaultPosition,wxSize(0,0),wxTE_PROCESS_ENTER | wxTE_PROCESS_TAB)
|
||||||
{
|
{
|
||||||
parent = _parent;
|
parent = _parent;
|
||||||
SetFocus();
|
SetFocus();
|
||||||
|
|
|
@ -1220,7 +1220,7 @@ void FrameMain::StatusTimeout(wxString text,int ms) {
|
||||||
// Setup accelerator table
|
// Setup accelerator table
|
||||||
void FrameMain::SetAccelerators() {
|
void FrameMain::SetAccelerators() {
|
||||||
std::vector<wxAcceleratorEntry> entry;
|
std::vector<wxAcceleratorEntry> entry;
|
||||||
entry.reserve(20);
|
entry.reserve(32);
|
||||||
|
|
||||||
// Standard
|
// Standard
|
||||||
entry.push_back(Hotkeys.GetAccelerator(_T("Video global prev frame"),Video_Prev_Frame));
|
entry.push_back(Hotkeys.GetAccelerator(_T("Video global prev frame"),Video_Prev_Frame));
|
||||||
|
|
Loading…
Reference in New Issue