Move filtering methods to separate interface

This commit is contained in:
Andrzej Rybczak
2016-11-13 06:18:39 +01:00
parent 0477e2e750
commit 9b6a080a29
17 changed files with 69 additions and 19 deletions

View File

@@ -225,7 +225,7 @@ bool Statusbar::Helpers::ApplyFilterImmediately::operator()(const char *s)
using Global::myScreen;
Status::trace();
try {
if (m_w->allowsSearching() && m_w->currentFilter() != s)
if (m_w->allowsFiltering() && m_w->currentFilter() != s)
{
m_w->applyFilter(s);
if (myScreen == myPlaylist)