mirror of https://github.com/odrling/Aegisub
Shift times: Make Enter in the time edit do the same as clicking OK
Originally committed to SVN as r6944.
This commit is contained in:
parent
5ecb89eeec
commit
7bd7ef7cd6
|
@ -194,6 +194,7 @@ DialogShiftTimes::DialogShiftTimes(agi::Context *context)
|
||||||
|
|
||||||
Bind(wxEVT_COMMAND_BUTTON_CLICKED, &DialogShiftTimes::Process, this, wxID_OK);
|
Bind(wxEVT_COMMAND_BUTTON_CLICKED, &DialogShiftTimes::Process, this, wxID_OK);
|
||||||
Bind(wxEVT_COMMAND_BUTTON_CLICKED, std::tr1::bind(&HelpButton::OpenPage, "Shift Times"), wxID_HELP);
|
Bind(wxEVT_COMMAND_BUTTON_CLICKED, std::tr1::bind(&HelpButton::OpenPage, "Shift Times"), wxID_HELP);
|
||||||
|
shift_time->Bind(wxEVT_COMMAND_TEXT_ENTER, &DialogShiftTimes::Process, this);
|
||||||
history_box->Bind(wxEVT_COMMAND_LISTBOX_DOUBLECLICKED, &DialogShiftTimes::OnHistoryClick, this);
|
history_box->Bind(wxEVT_COMMAND_LISTBOX_DOUBLECLICKED, &DialogShiftTimes::OnHistoryClick, this);
|
||||||
context->selectionController->AddSelectionListener(this);
|
context->selectionController->AddSelectionListener(this);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue