diff options
-rw-r--r-- | NEWS | 2 | ||||
-rwxr-xr-x | userdrake | 4 |
2 files changed, 4 insertions, 2 deletions
@@ -1,3 +1,5 @@ +- fix searching returning no results + Version 2.1 - 4 December 2013 - fix "forgiving" primary group when (un)selecting secondary groups (mga#11864) @@ -176,7 +176,7 @@ my $searchBox = gtkpack_(Gtk3::HBox->new(0,5), 0, Gtk3::Label->new(N("Search:")), 0, gtksignal_connect($filter = Gtk3::Entry->new, key_press_event => sub { - $_[1]->keyval == $Gtk3::Gdk::KEY_Return + $_[1]->keyval == Gtk3::Gdk::KEY_Return and Refresh($sysfilter, $filter->get_text); }), 0, my $fbut = Gtk3::Button->new(N("Apply filter")), @@ -799,7 +799,7 @@ sub CreateTree { my (undef, $event) = @_; my (undef, $iter) = $tree->get_selection->get_selected; return unless $iter; - Edit() if $event->keyval == $Gtk3::Gdk::KEY_Return; + Edit() if $event->keyval == Gtk3::Gdk::KEY_Return; }); $tree; } |