Commit 9471e487 authored by Felipe Borges's avatar Felipe Borges 👣

wizard-window: Don't filter download search results by type

After commit 3b023445, the custom downloads are also searchable,
therefore there's no need to filter out rows which aren't
WizardDownloadableEntry since all rows are now of this type.
parent 8a336ba0
......@@ -157,10 +157,6 @@ private bool downloads_filter_func (Gtk.ListBoxRow row) {
if (topbar.downloads_search.get_text_length () == 0)
return true;
// FIXME: custom items should also be searchable.
if (!(row is WizardDownloadableEntry))
return false;
var entry = row as WizardDownloadableEntry;
var text = canonicalize_for_search (topbar.downloads_search.get_text ());
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment