From 830a8c6ec82ffbd0b04a5e1df35350ed693aaa59 Mon Sep 17 00:00:00 2001 From: Tomas Babej Date: Tue, 29 Sep 2015 07:20:58 +0200 Subject: [PATCH] CLI2: Display filter footnote only if some filter token is present --- src/CLI2.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/CLI2.cpp b/src/CLI2.cpp index 677db1e18..6e37b11b2 100644 --- a/src/CLI2.cpp +++ b/src/CLI2.cpp @@ -678,7 +678,8 @@ void CLI2::prepareFilter () } } - context.footnote (std::string (STRING_COLUMN_LABEL_FILTER) + ": " + combined); + if (combined.size ()) + context.footnote (std::string (STRING_COLUMN_LABEL_FILTER) + ": " + combined); } }