diff options
-rw-r--r-- | NEWS | 1 | ||||
-rwxr-xr-x | rpmdrake | 5 |
2 files changed, 5 insertions, 1 deletions
@@ -5,6 +5,7 @@ o enable to apply priority updates without trying to select any package o search + * clear search results too when cleaing searched text (#49239) * default to OR like searches for searches among package names (#37643) * enable to disable use of regular expression (default is: disabled) * enable to search in full or short package names (#46473) @@ -677,7 +677,10 @@ sub run_treeview_dialog { 'icon-press' => sub { my (undef, $pos, $event) = @_; # emulate Sexy::IconEntry's clear_button: - $find_entry->set_text('') if $pos eq 'secondary'; + if ($pos eq 'secondary') { + $find_entry->set_text(''); + reset_search(); + } return if $pos ne 'primary'; $search_menu->popup(undef, undef, undef, undef, $event->button, $event->time); }, |