From da7397aafb3f56aba8540f434fe89eb4e49a4cdf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20For=C3=A9?= Date: Wed, 9 May 2018 00:14:52 -0700 Subject: [PATCH] Only show alertview when search is non-null (#331) --- src/Views/ListView/ListView.vala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Views/ListView/ListView.vala b/src/Views/ListView/ListView.vala index d299a8e2f..f078a652b 100644 --- a/src/Views/ListView/ListView.vala +++ b/src/Views/ListView/ListView.vala @@ -367,7 +367,7 @@ public class Noise.ListView : ContentView, Gtk.Box { } // If nothing will be shown, display the "no media found" message. - if (showing.size < 1) { + if (showing.size < 1 && search != "") { App.main_window.view_stack.show_alert (); } }