Enable full sorting of items in the local browser if it's not

master
Andrzej Rybczak 5 years ago
parent 03f046802a
commit e0fe49e3e3
  1. 1
      CHANGELOG.md
  2. 8
      src/screens/browser.cpp

@ -9,6 +9,7 @@
* Consider mouse support when pausing and unpausing curses interface.
* Reduce CPU usage of the frequency spectrum visualizer.
* Enable Link Time Optimization by default.
* Enable full sorting of items in the local browser if it's not.
# ncmpcpp-0.9 (2020-12-20)
* Fix various Mopidy specific bugs.

@ -498,7 +498,15 @@ void Browser::getDirectory(std::string directory)
}
if (m_local_browser)
{
getLocalDirectory(w, directory);
if (Config.browser_sort_mode == SortMode::None
|| Config.browser_sort_mode == SortMode::Type)
{
Statusbar::print("Switching to sorting songs by name for the local browser");
Config.browser_sort_mode = SortMode::Name;
}
}
else
{
MPD::ItemIterator end;

Loading…
Cancel
Save