Global history: Flag the URL field as searchable, as well.

This commit is contained in:
Michael Drake 2017-09-18 23:14:15 +01:00
parent e8b9678d3e
commit 9b0a3cc35e
1 changed files with 3 additions and 1 deletions

View File

@ -536,7 +536,9 @@ static nserror global_history_initialise_entry_fields(void)
goto error;
}
gh_ctx.fields[GH_URL].flags = TREE_FLAG_COPY_TEXT;
gh_ctx.fields[GH_URL].flags =
TREE_FLAG_COPY_TEXT |
TREE_FLAG_SEARCHABLE;
label = "TreeviewLabelURL";
label = messages_get(label);
if (lwc_intern_string(label, strlen(label),