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
1 changed files with 1 additions and 0 deletions
|
@ -194,6 +194,7 @@ DialogShiftTimes::DialogShiftTimes(agi::Context *context)
|
|||
|
||||
Bind(wxEVT_COMMAND_BUTTON_CLICKED, &DialogShiftTimes::Process, this, wxID_OK);
|
||||
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);
|
||||
context->selectionController->AddSelectionListener(this);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue