searchbar: Make sure we clear highlighting when the last character is removed
We need to call do_find() even if we just backspaced the last character out of the search entry. This ensures all highlighting gets removed from the document.
This commit is contained in:
parent
aa31c09fc7
commit
0f1de23d7f
|
@ -434,6 +434,7 @@ search_text_entry_changed (GtkEditable *editable,
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
search_buttons_set_sensitive (searchbar, FALSE);
|
search_buttons_set_sensitive (searchbar, FALSE);
|
||||||
|
do_find (searchbar, FALSE);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue