--- site.cc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/site.cc b/site.cc index 641a6bb..64e56a8 100644 --- a/site.cc +++ b/site.cc @@ -759,7 +759,9 @@ bool SitePage::OnMessageCmd (int id, HWND hwndctl, UINT code) { case IDC_EDIT_USER_URL: { - // FIXME: Make Enter here cause an ADD, not a NEXT. + // Set the default pushbutton to ADD if the user is entering text. + if (code == EN_CHANGE) + SendMessage (GetHWND (), DM_SETDEFID, (WPARAM) IDC_BUTTON_ADD_URL, 0); break; } case IDC_URL_LIST: -- 2.15.1
- [PATCH setup] Make Enter in the user URL box cause ADD instea... Ken Brown
- Re: [PATCH setup] Make Enter in the user URL box cause A... Jon Turney
- Re: [PATCH setup] Make Enter in the user URL box cau... Ken Brown
- Re: [PATCH setup] Make Enter in the user URL box... Ken Brown
- Re: [PATCH setup] Make Enter in the user URL... Jon Turney
- Re: [PATCH setup] Make Enter in the use... Ken Brown
- Re: [PATCH setup] Make Enter in the... Brian Inglis
- Re: [PATCH setup] Make Enter in... Ken Brown
- Re: [PATCH setup] Make Enter in... Jon Turney
- Re: [PATCH setup] Make Enter in the... Jon Turney
- Re: [PATCH setup] Make Enter in... Ken Brown