[PATCH setup] (Usability improvement) Implement half-second wait for user to finish typing before searching packages
Jon Turney
jon.turney@dronecode.org.uk
Tue Aug 2 12:04:00 GMT 2016
On 02/08/2016 04:17, Ronald Ramos wrote:
> @@ -397,10 +396,10 @@ ChooserPage::OnMessageCmd (int id, HWND hwndctl,
> UINT code)
> {
> case IDC_CHOOSE_CLEAR_SEARCH:
> {
> - std::string value;
> - eset (GetHWND (), IDC_CHOOSE_SEARCH_EDIT, value);
> - chooser->SetPackageFilter (value);
> - chooser->refresh ();
> + std::string value;
> + eset (GetHWND (), IDC_CHOOSE_SEARCH_EDIT, value);
> + chooser->SetPackageFilter (value);
> + chooser->refresh ();
Shouldn't the timer be cancelled here, to avoid potentially doing a
refresh() twice?
More information about the Cygwin-apps
mailing list