Merge chros73 suggestions (filter indicator, "start/stopped" view case)

- Suffix filtered view name with "(filtered)"
- Add a check to not filter "start" and "stopped" view
This commit is contained in:
Toff
2017-01-08 19:45:46 +01:00
parent e15270271d
commit 6ee61ee6b5
3 changed files with 12 additions and 6 deletions
+1 -1
View File
@@ -81,7 +81,7 @@ WindowDownloadList::redraw() {
if (m_view == NULL)
return;
m_canvas->print(0, 0, "%s", ("[View: " + m_view->name() + "]").c_str());
m_canvas->print(0, 0, "%s", ("[View: " + m_view->name() + (m_view->get_temp_filter().is_empty() ? "" : " (filtered)") + "]").c_str());
if (m_view->empty_visible() || m_canvas->width() < 5 || m_canvas->height() < 2)
return;