mirror of
https://github.com/rakshasa/rtorrent.git
synced 2026-08-16 15:12:30 +00:00
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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user